From 6b52cba2cdb7e68bf4a0d43d1e111e1cb6a39c54 Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Thu, 18 Jan 2024 16:04:42 +0000 Subject: [PATCH] test(cli): temporarily disable unstable ts assertion --- .../artillery/test/cli/run-typescript.test.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/artillery/test/cli/run-typescript.test.js b/packages/artillery/test/cli/run-typescript.test.js index 160a6820ef..83df03b86d 100644 --- a/packages/artillery/test/cli/run-typescript.test.js +++ b/packages/artillery/test/cli/run-typescript.test.js @@ -50,17 +50,17 @@ tap.test( 'Should have logged error from ts processor' ); - // Search for the path - const pathRegex = /\((.*?):\d+:\d+\)/; - const match = output.stdout.match(pathRegex); + // // Search for the path + // const pathRegex = /\((.*?):\d+:\d+\)/; + // const match = output.stdout.match(pathRegex); - // Extract the path if found - const extractedPath = match ? match[1] : null; + // // Extract the path if found + // const extractedPath = match ? match[1] : null; - t.ok( - extractedPath.includes('.ts'), - 'Should be using source maps to resolve the path to a .ts file' - ); - t.ok(fs.existsSync(extractedPath), 'Error path should exist'); + // t.ok( + // extractedPath.includes('.ts'), + // 'Should be using source maps to resolve the path to a .ts file' + // ); + // t.ok(fs.existsSync(extractedPath), 'Error path should exist'); } );