From ce62543319147753a9d39f14b552009f882ae87c Mon Sep 17 00:00:00 2001 From: Thomas Pani Date: Wed, 23 Oct 2024 17:07:55 +0200 Subject: [PATCH] Rename the timelock case study monitor file --- solarkraft/.prettierignore | 2 +- solarkraft/test/e2e/verify_js_example.test.ts | 8 ++++---- ...verify_js_example.ts => verify_js_example_timelock.ts} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename solarkraft/test/e2e/{verify_js_example.ts => verify_js_example_timelock.ts} (100%) diff --git a/solarkraft/.prettierignore b/solarkraft/.prettierignore index 410a42f..972b904 100644 --- a/solarkraft/.prettierignore +++ b/solarkraft/.prettierignore @@ -1,2 +1,2 @@ -test/e2e/verify_js_example.ts +test/e2e/verify_js_example_timelock.ts test/e2e/verify_js_example_xycloans.ts diff --git a/solarkraft/test/e2e/verify_js_example.test.ts b/solarkraft/test/e2e/verify_js_example.test.ts index e486e7a..ca3d7fd 100644 --- a/solarkraft/test/e2e/verify_js_example.test.ts +++ b/solarkraft/test/e2e/verify_js_example.test.ts @@ -1,6 +1,6 @@ /** - * E2E tests for the JavaScript / TypeScript monitor in - * `test/e2e/verify_js_example.ts`. + * E2E tests for the example TypeScript monitors in + * `test/e2e/verify_js_example_*.ts`. * * @author Thomas Pani, 2024 */ @@ -10,9 +10,9 @@ import { describe, it } from 'mocha' import { spawn } from 'nexpect' describe('verify JavaScript monitor', () => { - it('reports success on `verify_js_example.ts`', function (done) { + it('reports success on `verify_js_example_timelock.ts`', function (done) { this.timeout(50_000) - spawn('node dist/test/e2e/verify_js_example.js') + spawn('node dist/test/e2e/verify_js_example_timelock.js') .wait( 'Verifying deposit (successful tx e10a55db588f097f8ce9e214ae717c5ecbd6d13d5a2fb3142c71c1866c9ca537)...' ) diff --git a/solarkraft/test/e2e/verify_js_example.ts b/solarkraft/test/e2e/verify_js_example_timelock.ts similarity index 100% rename from solarkraft/test/e2e/verify_js_example.ts rename to solarkraft/test/e2e/verify_js_example_timelock.ts