diff options
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/__mocks__/fileMock.js | 1 | ||||
-rw-r--r-- | vnext/__mocks__/styleMock.js | 2 | ||||
-rw-r--r-- | vnext/package.json | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/vnext/__mocks__/fileMock.js b/vnext/__mocks__/fileMock.js new file mode 100644 index 00000000..86059f36 --- /dev/null +++ b/vnext/__mocks__/fileMock.js @@ -0,0 +1 @@ +module.exports = 'test-file-stub'; diff --git a/vnext/__mocks__/styleMock.js b/vnext/__mocks__/styleMock.js index 7c6d6c73..f053ebf7 100644 --- a/vnext/__mocks__/styleMock.js +++ b/vnext/__mocks__/styleMock.js @@ -1 +1 @@ -module.exports = {}
\ No newline at end of file +module.exports = {}; diff --git a/vnext/package.json b/vnext/package.json index 90f9578c..d29bd859 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -68,6 +68,7 @@ }, "jest": { "moduleNameMapper": { + "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", "\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js" }, "transform": { |