diff options
Diffstat (limited to 'web_src/js/testUtils/jestRawLoader.js')
-rw-r--r-- | web_src/js/testUtils/jestRawLoader.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/js/testUtils/jestRawLoader.js b/web_src/js/testUtils/jestRawLoader.js new file mode 100644 index 0000000000..15c9f7dc01 --- /dev/null +++ b/web_src/js/testUtils/jestRawLoader.js @@ -0,0 +1,5 @@ +export default { // eslint-disable-line import/no-unused-modules + process: (content) => { + return {code: `module.exports = ${JSON.stringify(content)}`}; + }, +}; |