Skip to content

Commit

Permalink
chore: split test suites & remove coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Nov 18, 2023
1 parent 6710281 commit 4f71478
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
8 changes: 4 additions & 4 deletions jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"collectCoverageFrom": ["lib/**/*.js"],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
"statements": 0,
"branches": 0,
"functions": 0,
"lines": 0
}
},
"transform": {}
Expand Down
11 changes: 11 additions & 0 deletions tests/prepare.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { prepare } from "../lib";

describe("prepare", () => {
it("should be defined", () => {
expect(prepare).toBeDefined();
});

it.todo("should update mix.exs");

it.todo("should preserve indentation and newline");
});
6 changes: 0 additions & 6 deletions tests/index.test.js → tests/verify-conditions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,3 @@ describe("verifyConditions", () => {
}
});
});

describe("prepare", () => {
it.todo("should update mix.exs");

it.todo("should preserve indentation and newline");
});

0 comments on commit 4f71478

Please sign in to comment.