nytai commented on a change in pull request #11634:
URL:
https://github.com/apache/incubator-superset/pull/11634#discussion_r528052796
##########
File path: superset-frontend/jest.config.js
##########
@@ -26,7 +26,10 @@ module.exports = {
'^spec/(.*)$': '<rootDir>/spec/$1',
},
testEnvironment: 'enzyme',
- setupFilesAfterEnv: ['jest-enzyme', '<rootDir>/spec/helpers/shim.ts'],
+ setupFilesAfterEnv: [
+ '<rootDir>/node_modules/jest-enzyme/lib/index.js',
+ '<rootDir>/spec/helpers/shim.ts',
+ ],
Review comment:
I was having issues with `shim.ts` not loading when I was running tests
in vscode -- mainly type errors. I was digging through some docs and most of
them were using absolute paths. Is it causing issues?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]