Initialize jest #7

Merged
Ishadijcks merged 3 commits from main into main 2022-06-23 16:24:03 +00:00
Ishadijcks commented 2022-06-23 16:06:49 +00:00 (Migrated from github.com)

This test should now pass.

import Decimal from "util/bignum";

test("Decimals?", () => {
    const x = new Decimal(3);
    expect(x.m).toBe(3);
});

Installed dependencies

  • jest
  • babel-jest @babel/core @babel/preset-env
  • @babel/preset-typescript
  • ts-jest
  • @types/jest
  • jest-environment-jsdom
This test should now pass. ```ts import Decimal from "util/bignum"; test("Decimals?", () => { const x = new Decimal(3); expect(x.m).toBe(3); }); ``` ## Installed dependencies - jest - babel-jest @babel/core @babel/preset-env - @babel/preset-typescript - ~ts-jest~ - @types/jest - jest-environment-jsdom
Sign in to join this conversation.
No description provided.