提交 99453d70 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 优化 toSaveSnapshot 示例

上级 137a5c9c
...@@ -24,7 +24,7 @@ describe('toSaveSnapshot & toSaveImageSnapshot template', () => { ...@@ -24,7 +24,7 @@ describe('toSaveSnapshot & toSaveImageSnapshot template', () => {
const text3 = 'test-toSaveSnapshot-2-3-' + Date.now() const text3 = 'test-toSaveSnapshot-2-3-' + Date.now()
expect(text3).toSaveSnapshot({ expect(text3).toSaveSnapshot({
fileName: 'test-toSaveSnapshot-2-3.txt' fileName: 'test-toSaveSnapshot-2-3.json'
}) })
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册