Skip to content

Commit

Permalink
refactor: fix failing tests due to update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhotimee committed Feb 19, 2024
1 parent a1d5ae2 commit 5ec8db5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down Expand Up @@ -67,7 +67,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down Expand Up @@ -109,7 +109,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
})
)
);
Expand All @@ -26,7 +26,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
})
)
);
Expand All @@ -40,7 +40,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
})
)
);
Expand Down
12 changes: 6 additions & 6 deletions models/project/src/mc-project/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand All @@ -64,7 +64,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down Expand Up @@ -119,7 +119,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand All @@ -141,7 +141,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down Expand Up @@ -209,7 +209,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: [
Expand Down Expand Up @@ -240,7 +240,7 @@ describe('builder', () => {
type: 'Store',
group: expect.any(String),
name: expect.any(String),
value: expect.any(Boolean),
value: expect.any(String),
}),
]),
allAppliedPermissions: expect.arrayContaining([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ describe('builder', () => {
'graphql',
McProjectDraft.random().key('project-key-1'),
expect.objectContaining({
__typename: 'ProjectDraft',
key: 'project-key-1',
name: expect.any(String),
countries: ['EN'],
Expand Down
1 change: 0 additions & 1 deletion models/project/src/project/project-draft/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ describe('builder', () => {
'graphql',
ProjectDraft.random().key('project-key-1'),
expect.objectContaining({
__typename: 'ProjectDraft',
key: 'project-key-1',
name: expect.any(String),
countries: ['EN'],
Expand Down

0 comments on commit 5ec8db5

Please sign in to comment.