Skip to content

Commit

Permalink
chore(test-data): uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikamat committed Feb 7, 2024
1 parent 0ffebcf commit 4a33a4d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions models/cart-discount/src/cart-discount/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ describe('builder', () => {
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
descriptionAllLocales: expect.arrayContaining([
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
value: expect.any(Object),
Expand Down
2 changes: 1 addition & 1 deletion models/commons/src/key-reference/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('builder', () => {
'graphql',
KeyReference.random().typeId('product'),
{
// __typename: 'Reference',
__typename: 'Reference',
typeId: 'product',
key: expect.any(String),
}
Expand Down
2 changes: 1 addition & 1 deletion models/commons/src/key-reference/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const transformers = {
rest: Transformer<TKeyReference, TKeyReference>('rest', {}),
graphql: Transformer<TKeyReference, TKeyReferenceGraphql>('graphql', {
addFields: () => ({
// __typename: 'Reference',
__typename: 'Reference',
}),
}),
};
Expand Down
4 changes: 2 additions & 2 deletions models/discount-code/src/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ describe('builder', () => {
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
descriptionAllLocales: expect.arrayContaining([
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
code: expect.any(String),
Expand Down
2 changes: 1 addition & 1 deletion models/shipping-method/src/shipping-method/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('builder', () => {
}),
taxCategoryRef: expect.objectContaining({
typeId: 'tax-category',
// __typename: 'Reference',
__typename: 'Reference',
}),
zoneRates: expect.any(Array),
isDefault: expect.any(Boolean),
Expand Down
2 changes: 1 addition & 1 deletion models/type/src/custom-field-enum-value/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('builder', () => {
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
__typename: 'LocalizableEnumValueType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('builder', () => {
expect.objectContaining({
locale: 'en',
value: expect.any(String),
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
}),
]),
__typename: 'LocalizableEnumValueType',
Expand Down
2 changes: 1 addition & 1 deletion models/type/src/field-definition/builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('builder', () => {
name: expect.any(String),
label: expect.arrayContaining([
expect.objectContaining({
// __typename: 'LocalizedString',
__typename: 'LocalizedString',
locale: expect.any(String),
value: expect.any(String),
}),
Expand Down

0 comments on commit 4a33a4d

Please sign in to comment.