Skip to content

Commit

Permalink
fix: update copy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imabp committed Oct 24, 2022
1 parent e36aabb commit e6a36c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ describe("Class Methods Test Suite", () => {
expect(_problemCopy).toBeInstanceOf(Problem);
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);
expect(_problemCopy.leaveThisWhenCopy).toBe(_testContext._problemInstance.leaveThisWhenCopy);
});

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

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

0 comments on commit e6a36c3

Please sign in to comment.