Unverified Commit 358d57db authored by Gerald Monaco's avatar Gerald Monaco Committed by GitHub

Fix tests for React 16 + Webpack 4/5 (#21146)

parent cd5ea7db
...@@ -174,10 +174,7 @@ jobs: ...@@ -174,10 +174,7 @@ jobs:
- run: yarn install --check-files - run: yarn install --check-files
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }}
- run: yarn list webpack - run: xvfb-run node run-tests.js test/integration/{link-ref,production,basic,async-modules,font-optimization,ssr-ctx,worker-loader}/test/index.test.js test/acceptance/*.test.js
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }}
- run: xvfb-run node run-tests.js test/integration/{link-ref,production,basic,async-modules,ssr-ctx}/test/index.test.js test/acceptance/*.test.js
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }}
testLegacyReact: testLegacyReact:
...@@ -209,7 +206,7 @@ jobs: ...@@ -209,7 +206,7 @@ jobs:
- run: yarn list react react-dom - run: yarn list react react-dom
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }}
- run: xvfb-run node run-tests.js test/integration/{link-ref,production,basic,async-modules,ssr-ctx,worker-loader}/test/index.test.js test/acceptance/*.test.js - run: xvfb-run node run-tests.js test/integration/{link-ref,production,basic,async-modules,font-optimization,ssr-ctx,worker-loader}/test/index.test.js test/acceptance/*.test.js
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs-only' }}
testFirefox: testFirefox:
......
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