aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/tests/__mocks__/fileMocks.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-10-11 10:58:55 +0200
committerFlorian Dold <florian@dold.me>2021-10-11 10:58:55 +0200
commitf23a8ee4d356645ae3f91862552b256f230c6bcb (patch)
tree641bf808ef6c6bf7eb003d96f6f7ed5654f854b8 /packages/anastasis-webui/tests/__mocks__/fileMocks.ts
parent0bbaafcd36ce68f95faee0b91738a169848c7a90 (diff)
downloadwallet-core-f23a8ee4d356645ae3f91862552b256f230c6bcb.tar.xz
anastasis-webui: first commit
Diffstat (limited to 'packages/anastasis-webui/tests/__mocks__/fileMocks.ts')
-rw-r--r--packages/anastasis-webui/tests/__mocks__/fileMocks.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/anastasis-webui/tests/__mocks__/fileMocks.ts b/packages/anastasis-webui/tests/__mocks__/fileMocks.ts
new file mode 100644
index 000000000..87109e355
--- /dev/null
+++ b/packages/anastasis-webui/tests/__mocks__/fileMocks.ts
@@ -0,0 +1,3 @@
+// This fixed an error related to the CSS and loading gif breaking my Jest test
+// See https://facebook.github.io/jest/docs/en/webpack.html#handling-static-assets
+export default 'test-file-stub';