feat: implement syntax #82
Annotations
3 errors and 2 warnings
packages/core/tests/config.test.ts > Should compose create Rsbuild config correctly > Merge Rsbuild config:
packages/core/tests/config.test.ts#L183
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched
- Expected
+ Received
@@ -34,15 +34,18 @@
},
},
},
"externalsType": "commonjs",
"output": {
+ "chunkFormat": "commonjs",
"library": {
"type": "commonjs",
},
},
+ "target": "es2022",
},
+ "swc": [Function],
},
},
"esm": {
"dev": {
"progressBar": false,
@@ -84,11 +87,13 @@
"library": {
"type": "modern-module",
},
"module": true,
},
+ "target": "es2022",
},
+ "swc": [Function],
},
},
"umd": {
"dev": {
"progressBar": false,
@@ -124,9 +129,11 @@
"output": {
"library": {
"type": "umd",
},
},
+ "target": "es2022",
},
+ "swc": [Function],
},
},
}
❯ packages/core/tests/config.test.ts:183:35
|
packages/core/tests/syntax.test.ts > Correctly resolve syntax > browserslist:
packages/core/tests/syntax.test.ts#L36
Error: Snapshot `Correctly resolve syntax > browserslist 1` mismatched
- Expected
+ Received
[
- "fully supports es6-module",
- ]
+ "fully supports es6-module",
+ ]
❯ packages/core/tests/syntax.test.ts:36:8
|
ut-mac (18.x)
Process completed with exit code 1.
|
ut-mac (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
e2e-ubuntu (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|