Skip to content

Commit

Permalink
Add timeout for test
Browse files Browse the repository at this point in the history
It seems the first test is having issues with a timeout. Added timeout
to test script as recommended by mochajs/mocha#2025
  • Loading branch information
Jaime Terreu committed Jul 17, 2021
1 parent 0bb8341 commit 84e5ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/test-ts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -eo pipefail

echo "Testing ts"
yarn mocha --exit -r ts-node/register 'tests/**/*.spec.ts'
yarn mocha --timeout 10000 --exit -r ts-node/register 'tests/**/*.spec.ts'
2 changes: 1 addition & 1 deletion tests/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe("examples", () => {
describe("SingleSearchable", () => {
// LIST BOX
it("list box visible after matching input", async () => {
await browser.newContext();
// @ts-ignore
const page = await browser.newPage();
await page.goto(`${BASE_URI}/SingleSearchable.elm`);

Expand Down

0 comments on commit 84e5ef1

Please sign in to comment.