mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed fileMock renderer & include
This commit is contained in:
parent
1a42bbcf2a
commit
920094e85a
@ -49,10 +49,10 @@
|
|||||||
"vue"
|
"vue"
|
||||||
],
|
],
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"^@/(.*)$": "<rootDir>/src/$1",
|
"\\.(svg)$": "<rootDir>/test/fileMock.js",
|
||||||
"^~/(.*)$": "<rootDir>/$1",
|
|
||||||
"\\.(css|less)$": "identity-obj-proxy",
|
"\\.(css|less)$": "identity-obj-proxy",
|
||||||
"\\.(svg)$": "<rootDir>/test/fileMock.js"
|
"^@/(.*)$": "<rootDir>/src/$1",
|
||||||
|
"^~/(.*)$": "<rootDir>/$1"
|
||||||
},
|
},
|
||||||
"setupFiles": [
|
"setupFiles": [
|
||||||
"<rootDir>/test/registerContext.js",
|
"<rootDir>/test/registerContext.js",
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
module.exports = 'test-file-stub'
|
module.exports = {
|
||||||
|
render: () => 'test-file-stub'
|
||||||
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user