aboutsummaryrefslogtreecommitdiffstats
path: root/test/react/utils/htmlLoader.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/react/utils/htmlLoader.js')
-rw-r--r--test/react/utils/htmlLoader.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/react/utils/htmlLoader.js b/test/react/utils/htmlLoader.js
new file mode 100644
index 0000000..fbdfbd8
--- /dev/null
+++ b/test/react/utils/htmlLoader.js
@@ -0,0 +1,7 @@
+const htmlLoader = require('html-loader');
+
+module.exports = {
+ process(src) {
+ return htmlLoader(src);
+ }
+};