asode

Results 4 comments of asode

Got around the issue by mocking the functions: ```js jest.mock("i18n-iso-countries", () => ({ default: jest.fn(), registerLocale: jest.fn(), getNames: jest.fn().mockResolvedValue({ EN: "English" }), })); ``` But is this really required? Shouldn't...

Thank you for the tip. Unfortunately it still doesn't seem to work. However the error is now different: ```js /home/asode/coding/svelte-select-test/node_modules/svelte-select/index.js:1 ({"Object.":function(module,exports,require,__dirname,__filename,jest){export { default as default } from './Select.svelte'; ^^^^^^ SyntaxError:...

@rob-balfre I'm using svelte-toast and svelte-feather-icons at the moment if those count? I can of course try something else too.

Thank you @rodryquintero for the input. Did you use the wrapRouter example and did you write it in TS? Did you write your tests using TS which had to be...