mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
code: social,path,packages (2 files)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { appendExportPath } from './append-export-path'
|
||||
|
||||
describe('appendExportPath', () => {
|
||||
it('joins segments with trimmed slashes', () => {
|
||||
expect(appendExportPath('root/', '/file.txt')).toBe('root/file.txt')
|
||||
})
|
||||
|
||||
it('handles empty base path', () => {
|
||||
expect(appendExportPath('', 'file.txt')).toBe('file.txt')
|
||||
})
|
||||
|
||||
it('handles empty segment', () => {
|
||||
expect(appendExportPath('root', '')).toBe('root')
|
||||
})
|
||||
})
|
||||
7
packages/social_hub/static_content/cli/main.cpp
Normal file
7
packages/social_hub/static_content/cli/main.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
std::cout << "Social Hub CLI" << std::endl;
|
||||
std::cout << "Args: " << argc - 1 << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user