feat: some sort of Astro support #16
ci.yml
on: pull_request
Test Linux
3m 17s
Test Linux ARM64
0s
Test Mac
0s
Test Windows
0s
Test big-endian
0s
Test 32-bit
0s
Test wasm32-wasip1-threads
2m 27s
Test NAPI
3m 57s
Test NAPI (windows)
0s
Spell Check
10s
Lint
3m 31s
Conformance
4m 3s
Minification Size
1m 7s
Allocations
59s
AST Changes
55s
Linter changes
22s
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
|