feat: add schemata schema validation tests (#689)
Co-authored-by: alltheseas <alltheseas@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: alltheseas <64376233+alltheseas@users.noreply.github.com>
This commit is contained in:
parent
234010c385
commit
b00ff341c8
4 changed files with 3210 additions and 68 deletions
19
vitest.config.ts
Normal file
19
vitest.config.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import path from 'path'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
define: {
|
||||
'import.meta.env.GIT_COMMIT': '"test"',
|
||||
'import.meta.env.APP_VERSION': '"0.0.0"',
|
||||
'import.meta.env.VITE_COMMUNITY_RELAY_SETS': '[]',
|
||||
'import.meta.env.VITE_COMMUNITY_RELAYS': '[]'
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src')
|
||||
}
|
||||
},
|
||||
test: {
|
||||
include: ['src/**/*.spec.ts']
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue