-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use v5, add atomWithMutation, atomWithSuspense with existing tests
- Loading branch information
Showing
41 changed files
with
672 additions
and
2,906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import { | ||
atomsWithInfiniteQuery, | ||
atomsWithMutation, | ||
atomsWithQuery, | ||
atomsWithQueryAsync, | ||
atomWithInfiniteQuery, | ||
atomWithMutation, | ||
atomWithQuery, | ||
queryClientAtom, | ||
} from '../src/index' | ||
|
||
describe('basic spec', () => { | ||
it('should export functions', () => { | ||
expect(queryClientAtom).toBeDefined() | ||
expect(atomsWithQuery).toBeDefined() | ||
expect(atomsWithInfiniteQuery).toBeDefined() | ||
expect(atomsWithMutation).toBeDefined() | ||
expect(atomsWithQueryAsync).toBeDefined() | ||
expect(atomWithQuery).toBeDefined() | ||
expect(atomWithInfiniteQuery).toBeDefined() | ||
expect(atomWithMutation).toBeDefined() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.