Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jun 7, 2024
1 parent cb9effa commit a85116b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/src/endowments/cronjob.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('endowment:cronjob', () => {
subjectTypes: [SubjectType.Snap],
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ describe('endowment:page-home', () => {
subjectTypes: [SubjectType.Snap],
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('endowment:name-lookup', () => {
validator: expect.any(Function),
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});

describe('validator', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/src/endowments/rpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('endowment:rpc', () => {
subjectTypes: [SubjectType.Snap],
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});

describe('validator', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('endowment:signature-insight', () => {
subjectTypes: [SubjectType.Snap],
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});

describe('validator', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('endowment:transaction-insight', () => {
subjectTypes: [SubjectType.Snap],
});

expect(specification.endowmentGetter()).toBeUndefined();
expect(specification.endowmentGetter()).toBeNull();
});

describe('validator', () => {
Expand Down

0 comments on commit a85116b

Please sign in to comment.