From 093a0723681c8efa6a8a0813f905aaf9e79c2d2f Mon Sep 17 00:00:00 2001 From: Fabien Taillon Date: Mon, 21 Oct 2024 11:54:45 +0200 Subject: [PATCH] Updated test --- test/commands/texei/skinnyprofile/retrieve.test.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/commands/texei/skinnyprofile/retrieve.test.ts b/test/commands/texei/skinnyprofile/retrieve.test.ts index 1fec926..d7c8279 100644 --- a/test/commands/texei/skinnyprofile/retrieve.test.ts +++ b/test/commands/texei/skinnyprofile/retrieve.test.ts @@ -1,11 +1,17 @@ +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-unsafe-call */ +/* eslint-disable @typescript-eslint/restrict-template-expressions */ +/* eslint-disable @typescript-eslint/no-unsafe-argument */ +/* eslint-disable @typescript-eslint/no-unsafe-assignment */ import * as path from 'node:path'; import { promises as fs } from 'node:fs'; import { Config, expect } from '@salesforce/command/lib/test'; -import Retrieve from '../../../../src/commands/texei/skinnyprofile/retrieve'; -import { permissionSetNodes } from '../../../../src/shared/skinnyProfileHelper'; +import Retrieve from '../../../../src/commands/texei/skinnyprofile/retrieve.js'; +import { permissionSetNodes } from '../../../../src/shared/skinnyProfileHelper.js'; describe('skinnyprofile:retrieve', () => { const config = new Config({ root: path.resolve(__dirname, '../../package.json') }); + // @ts-ignore: TODO: working code, but look at TS warning const retrieve: Retrieve = new Retrieve([], config); it('retrieves a profile with only profile-specific nodes', async () => {