From 72f0492174bd30ad27f35bed36414cafe49a75a3 Mon Sep 17 00:00:00 2001 From: yumauri Date: Wed, 4 Oct 2023 20:55:13 +0300 Subject: [PATCH] Allow effector rc version in try workflow tests --- tests/effector-version.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/effector-version.test.ts b/tests/effector-version.test.ts index ef028d5..f6edde3 100644 --- a/tests/effector-version.test.ts +++ b/tests/effector-version.test.ts @@ -9,7 +9,7 @@ const tryDependency: string | undefined = process.env.INPUT_EFFECTOR // test('effector should be mocked', () => { - const tryVersion = tryDependency?.match(/(\d+\.\d+\.\d+)/)?.[1] + const tryVersion = tryDependency?.match(/(\d+\.\d+\.\d+).*$/)?.[0] if (tryVersion) { assert.is(version, tryVersion) } else {