Commit 2533c837 authored by Will Binns-Smith's avatar Will Binns-Smith Committed by Will Binns-Smith

remove the flag from test for now

parent 04776761
...@@ -595,10 +595,7 @@ export async function createHotReloaderTurbopack( ...@@ -595,10 +595,7 @@ export async function createHotReloaderTurbopack(
// Server HMR only applies to App Router. // Server HMR only applies to App Router.
// Pages Router uses Node's require(), root entries (middleware/instrumentation) // Pages Router uses Node's require(), root entries (middleware/instrumentation)
// use the edge runtime. // use the edge runtime.
const usesServerHmr = const usesServerHmr = entryType === 'app' && writtenEndpoint.type !== 'edge'
experimentalServerFastRefresh &&
entryType === 'app' &&
writtenEndpoint.type !== 'edge'
for (const file of serverPaths) { for (const file of serverPaths) {
clearModuleContext(file) clearModuleContext(file)
......
...@@ -75,9 +75,9 @@ describe('enabled features in trace', () => { ...@@ -75,9 +75,9 @@ describe('enabled features in trace', () => {
const startDevServerEvent = startDevServerEvents![0] const startDevServerEvent = startDevServerEvents![0]
expect(startDevServerEvent.tags).toBeDefined() expect(startDevServerEvent.tags).toBeDefined()
expect( // expect(
startDevServerEvent.tags!['feature.experimentalServerFastRefresh'] // startDevServerEvent.tags!['feature.experimentalServerFastRefresh']
).toBe(true) // ).toBe(true)
}) })
it('should denormalize inherited enabled features during upload', async () => { it('should denormalize inherited enabled features during upload', async () => {
...@@ -139,14 +139,14 @@ describe('enabled features in trace', () => { ...@@ -139,14 +139,14 @@ describe('enabled features in trace', () => {
// Both should have inherited feature.experimentalServerFastRefresh from their parent // Both should have inherited feature.experimentalServerFastRefresh from their parent
expect(compilePathEvent).toBeDefined() expect(compilePathEvent).toBeDefined()
expect(compilePathEvent.tags['feature.experimentalServerFastRefresh']).toBe( // expect(compilePathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true // true
) // )
expect(renderPathEvent).toBeDefined() expect(renderPathEvent).toBeDefined()
expect(renderPathEvent.tags['feature.experimentalServerFastRefresh']).toBe( // expect(renderPathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true // true
) // )
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment