Skip to content

Commit

Permalink
jest to vitest and changes in mock file
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-chakraborty committed Dec 30, 2024
1 parent 6ea0c70 commit c777abe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/screens/OrganizationTags/OrganizationTagsMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const MOCKS = [
request: {
query: ORGANIZATION_USER_TAGS_LIST,
variables: {
id: '123',
id: 'orgId',
first: TAGS_QUERY_DATA_CHUNK_SIZE,
where: { name: { starts_with: '' } },
sortedBy: { id: 'DESCENDING' },
Expand Down Expand Up @@ -187,7 +187,7 @@ export const MOCKS = [
request: {
query: ORGANIZATION_USER_TAGS_LIST,
variables: {
id: '123',
id: 'orgId',
first: TAGS_QUERY_DATA_CHUNK_SIZE,
after: '10',
where: { name: { starts_with: '' } },
Expand Down Expand Up @@ -248,7 +248,7 @@ export const MOCKS = [
request: {
query: ORGANIZATION_USER_TAGS_LIST,
variables: {
id: '123',
id: 'orgId',
first: TAGS_QUERY_DATA_CHUNK_SIZE,
where: { name: { starts_with: 'searchUserTag' } },
sortedBy: { id: 'DESCENDING' },
Expand Down Expand Up @@ -322,7 +322,7 @@ export const MOCKS = [
request: {
query: ORGANIZATION_USER_TAGS_LIST,
variables: {
id: '123',
id: 'orgId',
first: TAGS_QUERY_DATA_CHUNK_SIZE,
where: { name: { starts_with: 'searchUserTag' } },
sortedBy: { id: 'ASCENDING' },
Expand Down Expand Up @@ -397,7 +397,7 @@ export const MOCKS = [
query: CREATE_USER_TAG,
variables: {
name: 'userTag 12',
organizationId: '123',
organizationId: 'orgId',
},
},
result: {
Expand All @@ -415,7 +415,7 @@ export const MOCKS_ERROR = [
request: {
query: ORGANIZATION_USER_TAGS_LIST,
variables: {
id: '123',
id: 'orgId',
first: TAGS_QUERY_DATA_CHUNK_SIZE,
where: { name: { starts_with: '' } },
sortedBy: { id: 'DESCENDING' },
Expand Down

0 comments on commit c777abe

Please sign in to comment.