We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed465b commit 0c1b20aCopy full SHA for 0c1b20a
bids-validator/src/validators/citation.test.ts
@@ -4,8 +4,10 @@ import { BIDSFileDeno } from '../files/deno.ts'
4
import { citationValidate } from './citation.ts'
5
import { BIDSContextDataset } from '../schema/context.ts'
6
import { GenericSchema } from '../types/schema.ts'
7
+import { loadSchema } from '../setup/loadSchema.ts'
8
9
Deno.test('citation validation', async (t) => {
10
+ const schema = await loadSchema()
11
await t.step('no errors on the good citation.cff', async () => {
12
const tree = pathsToTree(['CITATION.cff'])
13
const dsContext = new BIDSContextDataset({ tree })
0 commit comments