mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: additional base setup
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
import { vueConfig } from '@nativescript/webpack';
|
||||
import { __vue } from '@nativescript/webpack';
|
||||
|
||||
describe('vue configuration', () => {
|
||||
it('works', () => {
|
||||
expect(vueConfig('')).toMatchSnapshot();
|
||||
});
|
||||
const platforms = ['ios', 'android'];
|
||||
|
||||
for (let platform of platforms) {
|
||||
it(`[${platform}] works`, () => {
|
||||
expect(
|
||||
__vue({
|
||||
[platform]: true,
|
||||
}).toString()
|
||||
).toMatchSnapshot();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user