migrate js-api tests from Jest to Node.js native test runner (#12104)

This commit is contained in:
Denys Vuika
2026-07-28 20:04:31 +01:00
committed by GitHub
parent c316c6b594
commit 6c8b874704
58 changed files with 2355 additions and 4978 deletions
+5
View File
@@ -16,10 +16,15 @@
*/
import assert from 'assert';
import { describe, it, beforeEach, afterEach } from 'node:test';
import { AlfrescoApi } from '../src';
import { EcmAuthMock, BpmAuthMock } from './mockObjects';
import { resetGlobalMockAgent } from './mockObjects/base.mock';
describe('Change config', () => {
afterEach(() => {
resetGlobalMockAgent();
});
let authResponseBpmMock: BpmAuthMock;
let authResponseMock: EcmAuthMock;
let alfrescoJsApi: AlfrescoApi;