Files
Janos Hrubos 00a1cb5fc6 feat: svelte config (#9061)
* wip: svelte webpack5

* added project svelte config

* svelte snapshot
2020-11-23 18:13:05 +01:00

18 lines
405 B
TypeScript

// @ts-ignore
import Config from 'webpack-chain';
import svelte from '../../src/configuration/svelte';
import { init } from '../../src';
describe.only('svelte configuration', () => {
const platforms = ['ios', 'android'];
for (let platform of platforms) {
it(`for ${platform}`, () => {
init({
[platform]: true,
});
expect(svelte(new Config()).toString()).toMatchSnapshot();
});
}
});