-
Notifications
You must be signed in to change notification settings - Fork 53
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
Initial UI testing with Jest #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious here let me know what you think
tsconfig.json
Outdated
@@ -13,5 +13,5 @@ | |||
/* Skip type checking all .d.ts files. */ | |||
"jsx": "react" | |||
}, | |||
"exclude": ["node_modules","jest.config.js"] | |||
"exclude": ["node_modules","jest.config.js", "/Users/shivaylamba/Desktop/example-ts/__mocks__"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice addition here 👍 i wonder if there is some way to make this a variable so we dont have to exclude this, otherwise i believe we will have to add everyones path here for running tests - no? @shivay-at-pieces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated this to include any directories including mock, so this should work for others as well.
3 initial tests: