Silence dynamic import() warnings in tests (#11279)

This commit is contained in:
Nicolò Ribaudo 2020-03-18 15:42:19 +01:00 committed by GitHub
parent f405cd809c
commit 78ace99615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{
"validateLogs": true,
"presets": [
[
"env",

View File

@ -0,0 +1 @@
Dynamic import can only be supported when transforming ES modules to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.

View File

@ -2,6 +2,7 @@
"caller": {
"name": "test-fixture",
"supportsStaticESM": true,
"supportsDynamicImport": true,
"supportsTopLevelAwait": true
},
"presets": ["env"]

View File

@ -2,6 +2,7 @@
"caller": {
"name": "test-fixture",
"supportsStaticESM": true,
"supportsDynamicImport": true,
"supportsTopLevelAwait": false
},
"presets": ["env"],