Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ describe('Tanstack Query React Hooks V5 Test', () => {
expect(userResult.current.data).toHaveLength(1);
});

// pupulate the cache with a category
// populate the cache with a category
const categoryData: any[] = [{ id: '1', name: 'category1', posts: [] }];

nock(BASE_URL)
Expand Down Expand Up @@ -501,7 +501,7 @@ describe('Tanstack Query React Hooks V5 Test', () => {
it('optimistic update with optional one-to-many relationship', async () => {
const { queryClient, wrapper } = createWrapper();

// populate the cache with a post, with an optional category relatonship
// populate the cache with a post, with an optional category relationship
const postData: any = {
id: '1',
title: 'post1',
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/tanstack-query/tests/test-model-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export const modelMeta: ModelMeta = {
type: 'Category',
name: 'category',
isDataModel: true,
isOptional: true,
isRelationOwner: true,
backLink: 'posts',
foreignKeyMapping: { id: 'categoryId' },
Expand Down
Loading