-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
test/integration/shared-module-with-suffix/shared-module-with-suffix.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { describe, it } from 'vitest' | ||
import { assertFilesContent, createJob } from '../../testing-utils' | ||
|
||
describe('integration - shared-module-with-suffix', () => { | ||
// TODO: this is not available as browser cannot be the fallback condition | ||
// Until later we can use chunk split to create shared entry then it will be easier. | ||
describe.skip('integration - shared-module-with-suffix', () => { | ||
const { distDir } = createJob({ | ||
directory: __dirname, | ||
}) | ||
it('should alias correctly for the shared module with special suffix', async () => { | ||
await assertFilesContent(distDir, { | ||
'client.mjs': `./_private/util-browser.mjs`, | ||
'client.mjs': `./_private/util.browser.mjs`, | ||
}) | ||
}) | ||
}) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters