Skip to content

Commit

Permalink
fix: unit test for linux (#894)
Browse files Browse the repository at this point in the history
* fix: unit test for linux

* keep arm64
  • Loading branch information
KazuCocoa authored Apr 20, 2024
1 parent 2e287e7 commit 3a90158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/utils-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ describe('utils', function () {
.withExactArgs(path.resolve(`${bootstrapPath}/${udid}_${sdkVersion}.xctestrun`))
.returns(false);
mocks.fs.expects('exists')
.withExactArgs(path.resolve(`${bootstrapPath}/WebDriverAgentRunner_iphoneos${sdkVersion}-${get_arch()}.xctestrun`))
.withExactArgs(path.resolve(`${bootstrapPath}/WebDriverAgentRunner_iphoneos${sdkVersion}-arm64.xctestrun`))
.returns(true);
mocks.fs.expects('copyFile')
.withExactArgs(
path.resolve(`${bootstrapPath}/WebDriverAgentRunner_iphoneos${sdkVersion}-${get_arch()}.xctestrun`),
path.resolve(`${bootstrapPath}/WebDriverAgentRunner_iphoneos${sdkVersion}-arm64.xctestrun`),
path.resolve(`${bootstrapPath}/${udid}_${sdkVersion}.xctestrun`)
)
.returns(true);
Expand Down

0 comments on commit 3a90158

Please sign in to comment.