Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
[Web][CI] fix call function name
Browse files Browse the repository at this point in the history
  • Loading branch information
nokotan committed Sep 7, 2022
1 parent 196844a commit ce35e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Web/CI/src/MessageBox/MessageBox.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ parallel("MessageBox Tests", function() {
this.timeout(timeout);

async function GetResult() {
return await driver.executeScript("return Module.GetResult()") as string;
return await driver.executeScript("return Module[\"_GetResult\"]()") as string;
}

let app: Siv3DApp;
Expand Down
2 changes: 1 addition & 1 deletion Web/CI/src/TextInput/TextInput.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ parallel("TextInput Tests", function() {
}

async function GetInputText() {
return await driver.executeScript("return Module.GetText()") as string;
return await driver.executeScript("return Module[\"_GetResult\"]()") as string;
}

const app: Siv3DApp = await Siv3DApp.open(
Expand Down

0 comments on commit ce35e7f

Please sign in to comment.