Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate ajv from ajv-i18n bundle used during test #12

Closed
epoberezkin opened this issue Mar 2, 2016 · 1 comment
Closed

Separate ajv from ajv-i18n bundle used during test #12

epoberezkin opened this issue Mar 2, 2016 · 1 comment

Comments

@epoberezkin
Copy link
Member

Otherwise the bundle that is tested is different from the bundle that is shipped
Also it would reduce the number of scripts in package.json

@ggondim
Copy link
Contributor

ggondim commented Jul 5, 2020

Totally agree, my pull request #152 build is failing due to an ajv-keywords test problem:

 Schema tests of 4 ajv instances with option i18n
       ajv-keywords
         tests/switch
           switch keyword with id in sibling subschema
             >= 10 and odd is invalid:
     TypeError: it.util.cleanUpCode is not a function
      at Ajv.generate_switch (node_modules/ajv-keywords/keywords/dotjs/switch.js:128:17)

How could I help you to separate it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants