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/packages/svelte/tests/runtime-legacy/samples/destroy-twice/_config.js

15 lines
295 B

import { test } from '../../test';
import { unmount } from 'svelte';
export default test({
test({ component }) {
unmount(component);
unmount(component);
},
warnings: [
'Tried to unmount a component that was not mounted.',
'Tried to unmount a component that was not mounted.'
]
});