Skip to content

Commit

Permalink
Updated webpack config and all-test-context to include text ts files.
Browse files Browse the repository at this point in the history
  • Loading branch information
creilly8 committed Nov 14, 2023
1 parent 73d8b1f commit 23e4f15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = function (env = {}) {
new NodePolyfillPlugin(),
// ignore spec files by default
new webpack.IgnorePlugin({
resourceRegExp: /\.spec.js$/
resourceRegExp: /\.spec.(js|ts)$/
})
],
module: {
Expand Down
2 changes: 1 addition & 1 deletion server/test/context/all-test-context.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
var context = require.context('../../', true, /\.spec.js$/)
var context = require.context('../../', true, /\.spec.(js|ts)$/)
require('../../utils/webpack/exportContext.js').exportContext(context)

0 comments on commit 23e4f15

Please sign in to comment.