feat: some sort of Astro support #13
ci.yml
on: pull_request
Test Linux
3m 16s
Test Linux ARM64
0s
Test Mac
0s
Test Windows
0s
Test big-endian
0s
Test 32-bit
0s
Test wasm32-wasip1-threads
2m 12s
Test NAPI
4m 6s
Test NAPI (windows)
0s
Spell Check
12s
Lint
3m 31s
Conformance
4m 10s
Minification Size
1m 3s
Allocations
1m 7s
AST Changes
51s
Linter changes
29s
Annotations
4 errors, 1 warning, and 1 notice
|
Lint
Process completed with exit code 101.
|
|
Test NAPI
Process completed with exit code 1.
|
|
test/astro.test.ts > parseAstro > parses Astro file with script tags:
napi/parser/test/astro.test.ts#L78
AssertionError: expected undefined to be defined
❯ test/astro.test.ts:78:25
|
|
test/astro.test.ts > parseAstro > parses Astro file without frontmatter:
napi/parser/test/astro.test.ts#L37
AssertionError: expected { type: 'AstroFrontmatter', …(3) } to be null
- Expected:
null
+ Received:
{
"end": 0,
"program": {
"body": [],
"end": 0,
"hashbang": null,
"sourceType": "module",
"start": 0,
"type": "Program",
},
"start": 0,
"type": "AstroFrontmatter",
}
❯ test/astro.test.ts:37:30
|
|
Test NAPI
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
|
Conformance tests
Will run conformance tests
|