Skip to content

Commit

Permalink
resolvendo teste de mutação
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovictorino committed Jun 26, 2024
1 parent bf00848 commit d4df71f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/__tests__/model/Recibo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ describe("Recibo", () => {
const recibo2: Recibo = new Recibo();
expect(recibo1.codigo).not.toBe(recibo2.codigo);
});

test("criar recibos com código positivo", () => {
const recibo1: Recibo = new Recibo();
const recibo2: Recibo = new Recibo();
expect(BigInt(recibo1.codigo).valueOf()).toBeGreaterThan(0);
expect(BigInt(recibo2.codigo).valueOf()).toBeGreaterThan(0);
});
});

0 comments on commit d4df71f

Please sign in to comment.