update pretty much everything

update tests to workaround (I think) this thing https://github.com/facebook/jest/issues/9624
didn't update react-spring because too lazy
This commit is contained in:
2020-08-14 14:44:44 +03:00
parent 1d0e51f673
commit 052256788e
9 changed files with 11617 additions and 14568 deletions

View File

@@ -2,6 +2,6 @@ const jwt = require('express-jwt');
const { secret } = require('../config');
module.exports = {
required: jwt({ secret }),
optional: jwt({ secret, credentialsRequired: false }),
required: jwt({ secret, algorithms: ['HS256'] }),
optional: jwt({ secret, credentialsRequired: false, algorithms: ['HS256'] }),
};