Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imabp committed Oct 24, 2022
1 parent 1224cba commit e36aabb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe("Class Methods Test Suite", () => {
expect(_problemCopy.type).toBe(_testContext._problemInstance.type);
expect(_problemCopy.title).toBe(_testContext._problemInstance.title);
expect(_problemCopy.leaveThisWhenCopy).toBe(_testContext._problemInstance.leaveThisWhenCopy);
expect(_problemCopy.skipThisWhenCopy).toBe(undefined);
});

test("Method: Copy, mode: SKIP_PROPS", () => {
Expand All @@ -30,6 +31,7 @@ describe("Class Methods Test Suite", () => {
);
expect(_copiedProblem).toBeInstanceOf(Problem);
expect(_copiedProblem.skipThisWhenCopy).toBeUndefined();
expect(_copiedProblem.leaveThisWhenCopy).toBe(_testContext._problemInstance.leaveThisWhenCopy);
});

test("Method: isOfType", () => {
Expand Down

0 comments on commit e36aabb

Please sign in to comment.