From 2a37b2ec11c46fc87dae084bc0a7659b198311aa Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 22 Apr 2021 22:58:52 +0200 Subject: Mock config for tests Treat it as an external... also, deals better with the vite meta things --- test_utils/config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test_utils/config.js (limited to 'test_utils/config.js') diff --git a/test_utils/config.js b/test_utils/config.js new file mode 100644 index 0000000..4d58681 --- /dev/null +++ b/test_utils/config.js @@ -0,0 +1,11 @@ +/* + * Mocking the configuration, since we're treating it as an external + */ + +export const apollo = { + uri: 'http://MOCKED_CONFIG', + name: 'COOL_CLIENT', + version: '8.8.8' +}; + +export const version = '9.9.9'; -- cgit