Skip to content

Commit

Permalink
Migrate test from mocha to jest (#58)
Browse files Browse the repository at this point in the history
* remove mocha, install jest

* migrate test config

* migrate test file to jest

* add tests for getRelease
  • Loading branch information
dbanck committed Jul 8, 2022
1 parent d288a60 commit de94375
Show file tree
Hide file tree
Showing 5 changed files with 2,392 additions and 316 deletions.
5 changes: 0 additions & 5 deletions .mocharc.json

This file was deleted.

6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testPathIgnorePatterns: ['<rootDir>/out/', '/node_modules/'],
};

0 comments on commit de94375

Please sign in to comment.