Use resolve if require.resolve is overridden (#8072)

This commit is contained in:
fisker Cheung authored and GitHub committed 2020-04-21 10:09:26 +03:00
1 parent 299f2cad58
commit cfb28d632c
5 files changed
+42 -6

No files matched your search

+7
View File
@@ -131,3 +131,10 @@ jobs:
- name: Run Tests (standalone) (Linux and Windows)
if: matrix.os != 'macos-latest'
run: yarn test:dist-standalone --maxWorkers=2
# #8073 test
- name: Run Tests (PRETTIER_FALLBACK_RESOLVE)
run: yarn test "tests_integration/__tests__/(config|plugin)"
env:
NODE_ENV: production
PRETTIER_FALLBACK_RESOLVE: true