From 5808485d50dfb44f4b5923b3d25e060618d24716 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Thu, 28 Nov 2024 10:49:46 +0100 Subject: [PATCH] - update test spec --- __tests__/testParser.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/testParser.test.ts b/__tests__/testParser.test.ts index a79492e4..33f00fe2 100644 --- a/__tests__/testParser.test.ts +++ b/__tests__/testParser.test.ts @@ -124,17 +124,17 @@ note: run with `RUST_BACKTRACE=1` environment variable to display describe('resolvePath', () => { it('should find correct file for Java fileName', async () => { - const path = await resolvePath('EmailAddressTest', ['/build/', '/__pycache__/']) + const path = await resolvePath('', 'EmailAddressTest', ['/build/', '/__pycache__/']) expect(path).toBe('test_results/tests/email/src/test/java/action/surefire/report/email/EmailAddressTest.java') }) it('should find correct file for Kotlin fileName', async () => { - const path = await resolvePath('CalcUtilsTest', ['/build/', '/__pycache__/']) + const path = await resolvePath('', 'CalcUtilsTest', ['/build/', '/__pycache__/']) expect(path).toBe('test_results/tests/utils/src/test/java/action/surefire/report/calc/CalcUtilsTest.kt') }) it('should find correct file with a relative path', async () => { - const path = await resolvePath('./test_results/CalcUtilsTest.kt', ['/build/', '/__pycache__/']) + const path = await resolvePath('', './test_results/CalcUtilsTest.kt', ['/build/', '/__pycache__/']) expect(path).toBe('test_results/CalcUtilsTest.kt') }) })