From eef638b0c41df18a4796d7ff0f60c574433787c0 Mon Sep 17 00:00:00 2001 From: bzp2010 Date: Mon, 16 Sep 2024 01:30:21 +0800 Subject: [PATCH] fix --- libs/backend-api7/e2e/label-selector.e2e-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/backend-api7/e2e/label-selector.e2e-spec.ts b/libs/backend-api7/e2e/label-selector.e2e-spec.ts index dca03ad..80b1bf7 100644 --- a/libs/backend-api7/e2e/label-selector.e2e-spec.ts +++ b/libs/backend-api7/e2e/label-selector.e2e-spec.ts @@ -2,7 +2,7 @@ import * as ADCSDK from '@api7/adc-sdk'; import { create, unset } from 'lodash'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; -import { gte, lt } from 'semver'; +import { gte, lt, lte } from 'semver'; import { BackendAPI7 } from '../src'; import { @@ -27,7 +27,7 @@ describe('Label Selector', () => { backend = new BackendAPI7(commonBackendOpts); }); - conditionalDescribe(semverCondition(lt, '3.2.15'))( + conditionalDescribe(!semverCondition(lte, '3.2.15'))( 'Consumer (without credential support)', () => { const consumer1Name = 'consumer1';