diff --git a/packages/validator-ajv8/test/createPrecompiledValidator.test.ts b/packages/validator-ajv8/test/createPrecompiledValidator.test.ts index f8c9d28c18..37ae968371 100644 --- a/packages/validator-ajv8/test/createPrecompiledValidator.test.ts +++ b/packages/validator-ajv8/test/createPrecompiledValidator.test.ts @@ -2,6 +2,8 @@ import { RJSFSchema } from '@rjsf/utils'; import AJV8PrecompiledValidator from '../src/precompiledValidator'; import { Localizer, ValidatorFunctions } from '../src'; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore file might be not yet generated by test/harness/compileTestSchema.js import * as superSchemaFns from './harness/superSchema'; import superSchema from './harness/superSchema.json'; import createPrecompiledValidator from '../src/createPrecompiledValidator'; diff --git a/packages/validator-ajv8/test/harness/compileTestSchema.js b/packages/validator-ajv8/test/harness/compileTestSchema.js index 5504056428..c404533543 100644 --- a/packages/validator-ajv8/test/harness/compileTestSchema.js +++ b/packages/validator-ajv8/test/harness/compileTestSchema.js @@ -9,6 +9,7 @@ * Then add the two updated `superSchema.js` and `superSchemaOptions.js` files to your PR */ +// @ts-ignore todo: update this to use sources directly const compileSchemaValidators = require('../../dist/compileSchemaValidators').default; const superSchema = require('./superSchema.json'); diff --git a/packages/validator-ajv8/test/precompiledValidator.test.ts b/packages/validator-ajv8/test/precompiledValidator.test.ts index 3b4953e693..6173270fba 100644 --- a/packages/validator-ajv8/test/precompiledValidator.test.ts +++ b/packages/validator-ajv8/test/precompiledValidator.test.ts @@ -11,7 +11,11 @@ import { import AJV8PrecompiledValidator from '../src/precompiledValidator'; import { Localizer, ValidatorFunctions } from '../src'; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore file might be not yet generated by test/harness/compileTestSchema.js import * as superSchemaFns from './harness/superSchema'; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore file might be not yet generated by test/harness/compileTestSchema.js import * as superSchemaOptionsFns from './harness/superSchemaOptions'; import superSchema from './harness/superSchema.json';