Skip to content

Commit c729a21

Browse files
committed
✅ use vitest for testing + new tests
1 parent 9cbda3b commit c729a21

File tree

7 files changed

+163
-78
lines changed

7 files changed

+163
-78
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/test
22
*.d.ts
3+
vitest.config.ts

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import useSessionStorageState from './src/useSessionStorageState'
2-
import type { SessionStorageOptions, SessionStorageState } from './src/useSessionStorageState'
1+
import useSessionStorageState from './src/useSessionStorageState.js'
2+
import type { SessionStorageOptions, SessionStorageState } from './src/useSessionStorageState.js'
33

44
export default useSessionStorageState
55

jest.config.cjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)