feat: some sort of Astro support #14
ci.yml
on: pull_request
Test Linux
3m 7s
Test Linux ARM64
0s
Test Mac
0s
Test Windows
0s
Test big-endian
0s
Test 32-bit
0s
Test wasm32-wasip1-threads
2m 25s
Test NAPI
4m 28s
Test NAPI (windows)
0s
Spell Check
11s
Lint
3m 20s
Conformance
3m 59s
Minification Size
1m 6s
Allocations
58s
AST Changes
1m 3s
Linter changes
26s
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
|