Skip to content

Commit

Permalink
Allow effector rc version in try workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yumauri committed Oct 4, 2023
1 parent 38719b8 commit 72f0492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/effector-version.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 72f0492

Please sign in to comment.