Use new TS option to preserve imports in tests

These assertions were here to prevent imports (needed for svelte-inine-compile) from being removed.
This commit is contained in:
Ryan Gossiaux
2022-01-17 16:49:49 -05:00
parent 5d83d35e71
commit 6d2aa60d22
62 changed files with 124 additions and 74 deletions

View File

@@ -13,9 +13,6 @@ beforeEach(() => {
})
it('should be possible to use a Portal', () => {
// Dummy assertion to trick TS compiler
expect(Portal).not.toBe(PortalGroup);
expect(getPortalRoot()).toBe(null)
render(svelte`