feat: initial angular support + clean up tests

This commit is contained in:
Igor Randjelovic
2020-11-25 17:44:00 +01:00
parent 015d337e2a
commit d9a93040fe
17 changed files with 651 additions and 48 deletions

View File

@ -60,6 +60,8 @@ function getSvelteConfig(): { preprocess: any } | undefined {
});
return require(resolvedPath);
} catch (err) {
// todo: remove when jest supports mocking require.resolve
if (__TEST__) return;
error('Could not find svelte.config.js.', err);
}
}