Rust backend: SQLite (WAL mode, 8 tables), vault encryption (Argon2id + AES-256-GCM), settings/connections/credentials services, 19 Tauri command wrappers. 46/46 tests passing. Vue 3 frontend: unlock/create vault flow, Pinia app store, Tailwind CSS v4 dark theme with Wraith branding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
518 B
JavaScript
18 lines
518 B
JavaScript
import {parser} from '../dist/index.js'
|
|
import {fileTests} from '@lezer/generator/dist/test'
|
|
|
|
import fs from 'fs'
|
|
import path from 'path'
|
|
import {fileURLToPath} from "url"
|
|
let caseDir = path.dirname(fileURLToPath(import.meta.url))
|
|
|
|
for (let file of fs.readdirSync(caseDir)) {
|
|
if (file === 'test-json.js') continue
|
|
|
|
let name = /^[^\.]*/.exec(file)[0]
|
|
describe(name, () => {
|
|
for (let { name, run } of fileTests(fs.readFileSync(path.join(caseDir, file), "utf8"), file))
|
|
it(name, () => run(parser))
|
|
})
|
|
}
|