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(
// Server HMR only applies to App Router.
// Pages Router uses Node's require(), root entries (middleware/instrumentation)
// use the edge runtime.
const usesServerHmr =
experimentalServerFastRefresh &&
entryType === 'app' &&
writtenEndpoint.type !== 'edge'
const usesServerHmr = entryType === 'app' && writtenEndpoint.type !== 'edge'
for (const file of serverPaths) {
clearModuleContext(file)
......
......@@ -75,9 +75,9 @@ describe('enabled features in trace', () => {
const startDevServerEvent = startDevServerEvents![0]
expect(startDevServerEvent.tags).toBeDefined()
expect(
startDevServerEvent.tags!['feature.experimentalServerFastRefresh']
).toBe(true)
// expect(
// startDevServerEvent.tags!['feature.experimentalServerFastRefresh']
// ).toBe(true)
})
it('should denormalize inherited enabled features during upload', async () => {
......@@ -139,14 +139,14 @@ describe('enabled features in trace', () => {
// Both should have inherited feature.experimentalServerFastRefresh from their parent
expect(compilePathEvent).toBeDefined()
expect(compilePathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true
)
// expect(compilePathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
// true
// )
expect(renderPathEvent).toBeDefined()
expect(renderPathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
true
)
// expect(renderPathEvent.tags['feature.experimentalServerFastRefresh']).toBe(
// 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