Fix build tests

This commit is contained in:
Alex Gleason committed 2025-10-02 17:36:42 -05:00
1 parent cbf85313af
commit d4c775828f
1 file changed
+4 -4
+4 -4
View File
@@ -9,13 +9,13 @@ vi.mock('../esbuild', () => ({
build: vi.fn(() => ({
outputFiles: [
{
path: '/stdin.js',
path: '/stdin-abc123.js',
contents: new Uint8Array([1, 2, 3]),
text: '',
hash: 'abc123',
},
{
path: '/stdin.css',
path: '/stdin-def456.css',
contents: new Uint8Array([4, 5, 6]),
text: 'body { margin: 0; }',
hash: 'def456',
@@ -23,10 +23,10 @@ vi.mock('../esbuild', () => ({
],
metafile: {
outputs: {
'stdin.js': {
'stdin-abc123.js': {
entryPoint: 'fs:/test/project/src/main.tsx',
},
'stdin.css': {
'stdin-def456.css': {
entryPoint: undefined,
},
},