diff --git a/test.ts b/test.ts index bf3f776..241fc37 100644 --- a/test.ts +++ b/test.ts @@ -1,6 +1,5 @@ -import useLocalStorageState from '.' import { renderHook, act } from '@testing-library/react-hooks' -import { createLocalStorageStateHook } from '.' +import useLocalStorageState, { createLocalStorageStateHook } from '.' beforeEach(() => { localStorage.clear() diff --git a/tsconfig.json b/tsconfig.json index 699a875..27f9466 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,5 +26,5 @@ "forceConsistentCasingInFileNames": true }, - "exclude": ["test.ts"] + "include": ["index.ts"] }