test: tier verification and add WebView2 smoke
This commit is contained in:
1 parent
9d1770f903
commit
eb65b7cd41
25 files changed
+753
-252
No files matched your search
@@ -5,7 +5,7 @@ import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
import test from 'node:test'
|
||||
import { checkDebugHygiene } from './check.mjs'
|
||||
import { DEBUG_HOMES, resolveStorageRoot } from './paths.mjs'
|
||||
import { DEBUG_HOMES, REPO_ROOT, resolveStorageRoot } from './paths.mjs'
|
||||
import { TEMPORARY_RETENTION_MS, createTemporaryFiles } from './temporary-files.mjs'
|
||||
import { createWorkStore } from './work-store.mjs'
|
||||
import { createWorkCli } from './work.mjs'
|
||||
@@ -143,7 +143,7 @@ test('checkDebugHygiene: rejects stray .debug entries and concrete debug citatio
|
||||
})
|
||||
|
||||
test('tmp.mjs run CLI: cleans up on success and preserves evidence on failure', () => {
|
||||
const tmpCli = path.join(STORAGE, 'scripts', 'debug', 'tmp.mjs')
|
||||
const tmpCli = path.join(REPO_ROOT, 'scripts', 'debug', 'tmp.mjs')
|
||||
|
||||
const ok = spawnSync(process.execPath, [tmpCli, 'run', 'cli-ok', '--', process.execPath, '-e', 'process.exit(0)'], {
|
||||
encoding: 'utf8',
|
||||
|
||||
Reference in new issue
Block a user