From db503da989224d4b631c82d220d8ef3a033143a2 Mon Sep 17 00:00:00 2001 From: Justin Dalrymple Date: Sat, 21 Oct 2023 12:46:55 -0400 Subject: [PATCH] Updating tests and ci for updated deps --- .gitlab-ci.yml | 2 +- packages/core/test/e2e/map.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a9aef0b8..26fb8c2ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -338,7 +338,7 @@ test:e2e:core: test:e2e:rest: extends: .test:e2e:base - image: mcr.microsoft.com/playwright:v1.35.1-focal + image: mcr.microsoft.com/playwright:v1.39.0-focal before_script: # reinstall swc due to missing binding for ubuntu image - yarn add @swc/core diff --git a/packages/core/test/e2e/map.ts b/packages/core/test/e2e/map.ts index 53eca8fa3..af8500940 100644 --- a/packages/core/test/e2e/map.ts +++ b/packages/core/test/e2e/map.ts @@ -184,9 +184,9 @@ describe('API Map', () => { 'UserSSHKeys', ]; // eslint-disable-next-line - const map: Record = await import('../../dist/map.json'); + const map = await import('../../dist/map.json'); - expect(map).toBeInstanceOf(Object); + expect(map).toBeObject(); expect(Object.keys(map)).toIncludeAllMembers(keys); }); });