Use native tools

This commit is contained in:
CrazyMax
2020-05-06 22:14:50 +02:00
parent 232b78f307
commit 6395a3aa2f
6 changed files with 75 additions and 875 deletions

9
__tests__/github.test.ts Normal file
View File

@@ -0,0 +1,9 @@
import * as github from '../src/github';
describe('github', () => {
it('returns 3.96 GitHub release', async () => {
const release = await github.getRelease('3.96');
expect(release).not.toBeNull();
expect(release.tag_name).toEqual('v3.96');
});
});