diff --git a/libs/backend-apisix/e2e/misc.e2e-spec.ts b/libs/backend-apisix/e2e/misc.e2e-spec.ts index ee5a27b..09dad36 100644 --- a/libs/backend-apisix/e2e/misc.e2e-spec.ts +++ b/libs/backend-apisix/e2e/misc.e2e-spec.ts @@ -1,6 +1,7 @@ import * as ADCSDK from '@api7/adc-sdk'; import { BackendAPISIX } from '../src'; +import { server, token } from './support/constants'; import { createEvent, deleteEvent, @@ -14,8 +15,8 @@ describe('Miscellaneous', () => { beforeAll(() => { backend = new BackendAPISIX({ - server: process.env.SERVER, - token: process.env.TOKEN, + server, + token, }); });