Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Jan 2, 2021
1 parent 1794277 commit 853e99a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/buildExec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ test('all arguments', () => {
"directory": "coverage/",
"token": "d3859757-ab80-4664-924d-aef22fa7557b",
"verbose": "t",
"working-directory": "src/",
"working_directory": "src/",
"path_to_write_report": "codecov/",
"xcode_derived_data": "~/Library/Developer/Xcode/DerivedData",
"xcode_package": "MyApp"
}

for (let env of Object.keys(envs)) {
process.env[env] = envs[env];
process.env["INPUT_" + env.toUpperCase()] = envs[env];
}

let { execArgs, options, filepath, fail_ci } = buildExec();
Expand All @@ -67,6 +67,6 @@ test('all arguments', () => {
expect(fail_ci).toBeFalsy();

for (let env of Object.keys(envs)) {
delete process.env[env];
delete process.env["INPUT_" + env.toUpperCase()];
}
});

0 comments on commit 853e99a

Please sign in to comment.