mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
migrate js-api tests from Jest to Node.js native test runner (#12104)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user