mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2025-12-07 05:27:15 -07:00
Use native tools
This commit is contained in:
9
__tests__/github.test.ts
Normal file
9
__tests__/github.test.ts
Normal 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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user