Skip to content

Commit

Permalink
Update dictionary.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Jul 9, 2022
1 parent 3d8f6d5 commit 6052f5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/fast-check/test/unit/arbitrary/dictionary.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ describe('dictionary (integration)', () => {
);

const isCorrect = (value: Record<string, unknown>, extra: Extra) => {
expect(value.constructor).toBe(Object);
expect(value.__proto__).toBe(Object.prototype);
expect(Object.getPrototypeOf(value)).toBe(Object.prototype);
for (const k of Object.keys(value)) {
expect(extra.keys).toContain(k);
}
Expand Down

0 comments on commit 6052f5d

Please sign in to comment.