Skip to content

Commit 7226884

Browse files
committed
Check if Flight fixture smoke tests use correct build
1 parent 4a1f290 commit 7226884

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

fixtures/flight/playwright.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export default defineConfig({
1111
retries: isCI ? 2 : 0,
1212
// Opt out of parallel tests on CI.
1313
workers: isCI ? 1 : undefined,
14-
reporter: 'html',
14+
reporter: [['html'], ['list', {printSteps: true}]],
1515
use: {
1616
baseURL: 'http://localhost:3000',
1717

18-
trace: 'on-first-retry',
18+
trace: 'on',
1919
},
2020
projects: [
2121
{

packages/react-server-dom-webpack/src/ReactFlightWebpackNodeRegister.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const url = require('url');
1313

1414
const Module = require('module');
1515

16+
throw new Error('testing')
17+
1618
module.exports = function register() {
1719
const Server: any = require('react-server-dom-webpack/server');
1820
const registerServerReference = Server.registerServerReference;

0 commit comments

Comments
 (0)