diff --git a/test/browser/browserIntegration.ts b/test/browser/browserIntegration.ts index 8d43f214..bc7b5c91 100644 --- a/test/browser/browserIntegration.ts +++ b/test/browser/browserIntegration.ts @@ -41,7 +41,7 @@ describe('Browser Tests', function () { ) await page.waitForFunction( - 'document.querySelector("body").innerText.includes("submit multisigned transaction")', + 'document.querySelector("body").innerText.includes("closing test")', { timeout: TIMEOUT }, ) diff --git a/test/integration/finalTest.ts b/test/integration/finalTest.ts new file mode 100644 index 00000000..2c0399d1 --- /dev/null +++ b/test/integration/finalTest.ts @@ -0,0 +1,13 @@ +import assert from 'assert' + +// how long before each test case times out +const TIMEOUT = 20000 + +// the purpose of this file is to indicate the end of tests and not really test anything. +describe('test', function () { + this.timeout(TIMEOUT) + + it('closing test', function () { + assert(true) + }) +}) diff --git a/test/integration/index.ts b/test/integration/index.ts index 0f98f87d..6442fd6c 100644 --- a/test/integration/index.ts +++ b/test/integration/index.ts @@ -41,3 +41,6 @@ export * from './requests/utility' export * from './fundWallet' export * from './integration' export * from './regularKey' + +// Ensure you export all added tests above "export * from './finalTest'", otherwise they will not be run. +export * from './finalTest'