chore: fix tests

This commit is contained in:
Evan You 2020-03-25 17:55:09 -04:00
parent 16cd8eee78
commit 925ba6bb7b
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renderer: portal should remove children when unmounted 1`] = `"<div>teleported</div>"`;
exports[`renderer: portal should update children 1`] = `"<div>teleported</div>"`;
exports[`renderer: portal should update children 2`] = `""`;

View File

@ -19,10 +19,10 @@ describe('resolveAssets', () => {
const FooBar = () => null
const BarBaz = { mounted: () => null }
let component1: Component
let component2: Component
let component3: Component
let component4: Component
let component1: Component | string
let component2: Component | string
let component3: Component | string
let component4: Component | string
let directive1: Directive
let directive2: Directive
let directive3: Directive