Skip to content

Commit 3f0018a

Browse files
committed
fix: unit test for github workflow - binary log-file path
1 parent c171291 commit 3f0018a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup-local/test/binaryControl.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe('Binary Control Operations', () => {
120120
localTesting: 'start',
121121
};
122122

123-
const expectedFinalArgs = `--key someKey --only-automate --ci-plugin GitHubAction --arg1 val1 --arg2 val2 --local-identifier someIdentifier --verbose 1 --log-file ${process.env.HOME}/work/binary/LocalBinaryFolder/darwin/BrowserStackLocal_someJobName.log `;
123+
const expectedFinalArgs = `--key someKey --only-automate --ci-plugin GitHubAction --arg1 val1 --arg2 val2 --local-identifier someIdentifier --verbose 1 --log-file ${path.resolve(process.env.HOME,'work','binary','LocalBinaryFolder','darwin','BrowserStackLocal_someJobName.log')} `;
124124
const binaryControl = new BinaryControl(stateForBinary);
125125
binaryControl._generateArgsForBinary();
126126
expect(binaryControl.binaryArgs).to.eq(expectedFinalArgs);

0 commit comments

Comments
 (0)