-
Notifications
You must be signed in to change notification settings - Fork 0
feature/atomic structure #3
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
base: develop
Are you sure you want to change the base?
Conversation
…NextImage, Cta, Carousel, Downloader
| export default { | ||
| testEnvironment: "jsdom", | ||
| moduleNameMapper: { | ||
| "^@/(.*)$": "<rootDir>/src/$1", |
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.
Added for module aliasing
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.
jest mocks for splide
| expect(handleClick).toHaveBeenCalledTimes(2); | ||
| }); | ||
|
|
||
| // it("should not display if isHidden property is set to true", () => { |
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.
Not able to test anything related to css (need to include transformers in Jest)
| "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ | ||
| // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ | ||
| // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ | ||
| "paths": { |
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.
For module aliasing
| "typeRoots": [ | ||
| "./node_modules/@types" | ||
| ], /* List of folders to include type definitions from. */ | ||
| // "typeRoots": [ |
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.
removed this as it was resulting in an error with jest
| @import 'vars'; | ||
| @import 'mixins'; | ||
| @import 'typography'; | ||
| @import "vars"; |
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.
@import is deprecated and will be removed in future versions of Sass, please use @use instead
No description provided.