mirror of
https://github.com/codecov/codecov-action
synced 2026-09-14 20:13:46 +00:00
Add tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { buildExec } from "./index";
|
||||
|
||||
test('no arguments', () => {
|
||||
let { execArgs, filepath, fail_ci } = buildExec();
|
||||
expect(execArgs).toEqual([]);
|
||||
expect(filepath).toEqual('codecov.sh');
|
||||
expect(fail_ci).toBeFalsy();
|
||||
});
|
||||
Reference in New Issue
Block a user