Skip to content

Commit

Permalink
Fixes types getting generated inside dist/src instead of dist [246](#246
Browse files Browse the repository at this point in the history
)
  • Loading branch information
benxaamin committed Nov 1, 2022
1 parent fe1d14d commit a26517b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module.exports = {
'<rootDir>/__mocks__/fileMock.js',
'\\.(css|less)$': '<rootDir>/__mocks__/styleMock.js',
},
setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
}
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"jsxFactory": "",
"jsxFragmentFactory": ""
},
"include": ["./src", "test-setup.ts"],
"include": ["./src"],
"exclude": ["./src/**/*.stories.tsx"]
}

0 comments on commit a26517b

Please sign in to comment.