Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
fix: destroy wrapper after using
Browse files Browse the repository at this point in the history
  • Loading branch information
KnowsCount committed Jul 3, 2021
1 parent e061122 commit 7cc8edb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qiokian",
"version": "2.2.11",
"version": "2.2.12",
"description": "🙊 live2d anime figure vuejs component.",
"main": "dist/qiokian.ssr.js",
"browser": "dist/qiokian.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion tests/qiokian.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ describe('qiokian', function() {
it('should contain a <button> & <div> element', () => {
expect(wrapper.find('button')).toBeTruthy()
expect(wrapper.find('div')).toBeTruthy()
wrapper.destroy()
})

it("renders correctly", () => {
expect(wrapper.html()).toMatchSnapshot()
wrapper.destroy()
});

// if (screen.width < 768) {
Expand Down

0 comments on commit 7cc8edb

Please sign in to comment.