You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/stats/samples/imports/_config.js

18 lines
299 B

export default {
test(assert, stats) {
assert.deepEqual(stats.imports, [
{
source: 'x',
specifiers: [{ name: 'default', as: 'x' }]
},
{
source: 'y',
specifiers: [{ name: 'y', as: 'y' }]
},
{
source: 'z',
specifiers: [{ name: '*', as: 'z' }]
}
]);
}
};