Skip to content

Commit

Permalink
⬆️ upgrade lazy-let with "beforeEach" resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
vhoyer committed Apr 20, 2023
1 parent 8817c4b commit f8c07a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 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
Expand Up @@ -40,7 +40,7 @@
"@types/jsdom": "^20.0.0",
"@types/node": "^18.8.4",
"@types/testing-library__jest-dom": "^5.14.5",
"@vhoyer/lazy-let": "^1.0.0-4",
"@vhoyer/lazy-let": "^1.0.0-6",
"@vitejs/plugin-vue": "^3.1.2",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/components/__tests__/my-footer.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { describe, it, expect } from 'vitest';
import { describe, it, expect, beforeEach } from 'vitest';
import { lazylet } from '@vhoyer/lazy-let';
import { render } from '@testing-library/vue';
import MyFooter from '../my-footer.vue';

describe('Components > Footer', () => {
const $ = lazylet({
const $ = lazylet(beforeEach, {
wrapper: () => render(MyFooter),
});

Expand Down

0 comments on commit f8c07a9

Please sign in to comment.