Skip to content

Commit 38d940a

Browse files
committed
test: fix test case.
1 parent 4b3972a commit 38d940a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__test__/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ it('RunWeb Props js="..."', async () => {
2525
expect(tree.props.height).toEqual('100%');
2626
expect(tree.props.style).toEqual({ border: 0 });
2727
expect(tree.props.srcDoc).toEqual(
28-
`<!DOCTYPE html><html><head></head><body><script type="text/javascript">console.log('hello world!')</script></body></html>`,
28+
`<!DOCTYPE html><html><head></head><body></body><script type="text/javascript">console.log('hello world!')</script></html>`,
2929
);
3030
}
3131
});

0 commit comments

Comments
 (0)