Skip to content

Commit

Permalink
test: add timeout (ajv-validator#1528)
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin authored and andriyl committed Jun 16, 2021
1 parent 280797a commit 52bec51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/testimonials.md
Expand Up @@ -5,6 +5,7 @@
[Nicholas C. Zakas](https://github.com/nzakas), ESLint creator and TSC member

<br>

I always thought that built-in data validation is a key feature of any web framework. We decided to leverage JSON Schema in [Fastify](https://www.fastify.io), and Ajv fits our needs wonderfully: it’s fast, stable and well maintained.

[Matteo Collina](https://github.com/mcollina), technical Director [@nearform](https://github.com/nearform) and TSC member
Expand Down
4 changes: 3 additions & 1 deletion spec/discriminator.spec.ts
Expand Up @@ -9,9 +9,11 @@ import {withStandalone} from "./ajv_standalone"
import options from "./ajv_options"
import * as assert from "assert"

describe("discriminator keyword", () => {
describe("discriminator keyword", function () {
let ajvs: (Ajv | AjvPack)[]

this.timeout(10000)

before(() => {
ajvs = [...getAjvs(_Ajv), ...getAjvs(_Ajv2019)]
})
Expand Down

0 comments on commit 52bec51

Please sign in to comment.