Add tabs example

This commit is contained in:
Steve Kinney
2024-10-01 18:01:10 -05:00
parent 75e9bb7ca7
commit ad6dc3b145
8 changed files with 407 additions and 103 deletions

View File

@@ -1,9 +1,9 @@
import { screen } from '@testing-library/dom';
import userEvent from '@testing-library/user-event';
import { createSecretInput } from './secret-input.js';
import '@testing-library/jest-dom/vitest';
import { createSecretInput } from './secret-input.js';
describe('createSecretInput', async () => {
beforeEach(() => {
vi.spyOn(localStorage, 'getItem').mockReturnValue('test secret');