Skip to content

Commit 925ba6b

Browse files
committed
chore: fix tests
1 parent 16cd8ee commit 925ba6b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

packages/runtime-core/__tests__/components/__snapshots__/Portal.spec.ts.snap

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`renderer: portal should remove children when unmounted 1`] = `"<div>teleported</div>"`;
4-
53
exports[`renderer: portal should update children 1`] = `"<div>teleported</div>"`;
64

75
exports[`renderer: portal should update children 2`] = `""`;

packages/runtime-core/__tests__/helpers/resolveAssets.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ describe('resolveAssets', () => {
1919
const FooBar = () => null
2020
const BarBaz = { mounted: () => null }
2121

22-
let component1: Component
23-
let component2: Component
24-
let component3: Component
25-
let component4: Component
22+
let component1: Component | string
23+
let component2: Component | string
24+
let component3: Component | string
25+
let component4: Component | string
2626
let directive1: Directive
2727
let directive2: Directive
2828
let directive3: Directive

0 commit comments

Comments
 (0)