-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2da7c53
commit 1779b9c
Showing
85 changed files
with
60,161 additions
and
54,648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
stories: ['../stories/**/*.stories.@(ts|tsx|js|jsx)'], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'], | ||
// https://storybook.js.org/docs/react/configure/typescript#mainjs-configuration | ||
typescript: { | ||
check: true, // type-check stories during Storybook build | ||
}, | ||
webpackFinal: (config) => { | ||
config.resolve.alias = { | ||
...config.resolve.alias, | ||
src: path.resolve(__dirname, '../src'), | ||
reactify: path.resolve(__dirname, '../src/reactify'), | ||
}; | ||
|
||
return config; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
module.exports = { | ||
setupFiles: [ | ||
'jest-canvas-mock', | ||
], | ||
setupFiles: ['jest-canvas-mock'], | ||
setupFilesAfterEnv: ['<rootDir>/test/setupTests.js'], | ||
testEnvironment: 'jsdom', | ||
moduleNameMapper: { | ||
src: '<rootDir>/src', | ||
reactify: '<rootDir>/src/reactify', | ||
}, | ||
}; |
Oops, something went wrong.
1779b9c
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.
Coverage for this commit
Coverage Report