build(hololake): stabilize native quality config loading

This commit is contained in:
冰朔 2026-08-12 08:00:04 +08:00
commit f01ca6ba5f
2 changed files with 7 additions and 3 deletions

View file

@ -22,4 +22,8 @@ test('local native candidate has an isolated macOS package identity', async () =
)
assert.match(packageJson.scripts.build, /--configLoader runner/)
assert.match(packageJson.scripts['test:native-core'], /--configLoader runner/)
assert.match(
await readFile('scripts/run-hololake-native-quality-gate.sh', 'utf8'),
/vite build --configLoader runner[\s\S]*vitest run --configLoader runner[\s\S]*--coverage --configLoader runner/,
)
})