ghaction-upx/__tests__/github.test.ts
2020-05-06 22:17:52 +02:00

10 lines
266 B
TypeScript

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');
});
});