Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jun 4, 2024
1 parent 89177c7 commit 616a6ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ use turbo_tasks_fs::{File, FileSystemPath};
use turbopack_binding::turbopack::{
core::{
asset::AssetContent,
chunk::{ChunkItem, ChunkItemExt, ChunkableModule, ChunkingContext, ModuleId as TurbopackModuleId},
chunk::{
ChunkItem, ChunkItemExt, ChunkableModule, ChunkingContext,
ModuleId as TurbopackModuleId,
},
output::OutputAsset,
virtual_output::VirtualOutputAsset,
},
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/esm-externals/esm-externals.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ describe('esm-externals', () => {
const expectedHtml = isTurbopack
? 'Hello World+World+World+World+World+World'
: url === '/static'
? 'Hello World+World+Alternative+World+World+World'
: 'Hello World+World+Alternative+World+World+Alternative'
? 'Hello World+World+Alternative+World+World+World'
: 'Hello World+World+Alternative+World+World+Alternative'

// On the client side, webpack always bundles, so it uses the non-esm-flagged module too.
const expectedText =
Expand Down Expand Up @@ -50,8 +50,8 @@ describe('esm-externals', () => {
url !== '/server'
? 'Hello World+World+World'
: isTurbopack
? 'Hello World+World+World'
: 'Hello World+World+Alternative'
? 'Hello World+World+World'
: 'Hello World+World+Alternative'

it('should return the correct SSR HTML', async () => {
const $ = await next.render$(url)
Expand Down

0 comments on commit 616a6ff

Please sign in to comment.