Closed iangregsondev closed 5 years ago
It looks like the reason your graphql
module isn't loading is because graphql
file extensions are not included in your wallaby files
configuration. Could you please add graphql
to your wallaby configuration file patterns, so that your wallaby configuration files section looks like this:
...
files: [
"test-setup.ts",
"jest.config.js",
"tsconfig.json",
- "apps/**/*.+(ts|css|html)",
- "libs/**/*.+(ts|css|html)",
+ "apps/**/*.+(ts|css|html|graphql)",
+ "libs/**/*.+(ts|css|html|graphql)",
"!**/*.spec.ts",
"!**/node_modules/**/*",
"!**/dist/**/*"
],
...
Issue description or question
Running ng test seems to work with graphql files, i have the following jest-config.js
Currently i got the following error
If I got to the user.service it is importing relative like so
I am pretty sure this is to do with the wallaby file and the transforms, can you confirm what i should do.
This is the only thing I have outstanding now :-)
Wallaby.js configuration file
Code editor or IDE name and version
Visual Studio Code v1.? WebStorm v? IntelliJ IDEA v? Atom v1.? Visual Studio v? Sublime Text v3 build ?
OS name and version
Windows OSX Linux