File tree 2 files changed +8
-3
lines changed
packages/graphql-authentication
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 67
67
" ./src"
68
68
],
69
69
"transform" : {
70
- "^.+\\ .tsx? $" : " ts-jest"
70
+ "^.+\\ .ts $" : " ts-jest"
71
71
},
72
- "testRegex" : " (/__tests__/.*|(\\ .|/)(test|spec))\\ .(jsx?|tsx?)$" ,
72
+ "globals" : {
73
+ "ts-jest" : {
74
+ "skipBabel" : true
75
+ }
76
+ },
77
+ "testRegex" : " (/__tests__/.*|(\\ .|/)(test|spec))\\ .(js|ts)$" ,
73
78
"setupTestFrameworkScriptFile" : " <rootDir>/src/__tests__/setup.ts" ,
74
79
"moduleFileExtensions" : [
75
80
" ts" ,
Original file line number Diff line number Diff line change 1
1
import * as bcrypt from 'bcryptjs' ;
2
2
import * as jwt from 'jsonwebtoken' ;
3
3
import * as validator from 'validator' ;
4
- import uuidv4 from 'uuid/v4' ;
4
+ import * as uuidv4 from 'uuid/v4' ;
5
5
import { getUser , Context } from './utils' ;
6
6
import { User } from './Adapter' ;
7
7
import {
You can’t perform that action at this time.
0 commit comments