Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Nov 24, 2024
1 parent 6e86746 commit 2f6b1b4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/integration/dual-entry/index.test.ts

This file was deleted.

17 changes: 17 additions & 0 deletions test/integration/duplicate-entries-partial-specified/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { createIntegrationTest, getFileNamesFromDirectory } from '../utils'

describe('integration duplicate-entries-partial-specified', () => {
it('should not generate js types paths if not specified', async () => {
await createIntegrationTest(
{
directory: __dirname,
},
async ({ distDir }) => {
expect(await getFileNamesFromDirectory(distDir)).toEqual([
'a.js',
'a.workerd.js',
])
},
)
})
})
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2f6b1b4

Please sign in to comment.