mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-18 23:52:52 +00:00
test: change mocha-typescript to @testdeck/mocha
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {MapAggTest} from './mapping-model/MapAggTest';
|
||||
import {aggArrayTest} from './mapping-model/aggregations/src/agg-array';
|
||||
import {aggNestedTest} from './mapping-model/aggregations/src/agg-nested';
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {expect} from 'chai';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {cwd} from 'process';
|
||||
import {getTsconfigPath} from '../src/common';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
import {expect} from 'chai';
|
||||
import {resolve} from 'path';
|
||||
import {existsSync, unlinkSync} from 'fs';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {getProjectReflection} from '../src/common';
|
||||
import {createDiagram, createDiagramFromString} from '../src/uml/create-diagram';
|
||||
import {UMLConfig} from '../src/uml/uml-config';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {MapAggTest} from './mapping-model/MapAggTest';
|
||||
import {inheritTagsTest} from './mapping-model/mappings/src/inherit-tags';
|
||||
import {mapExplicitTypesTest} from './mapping-model/mappings/src/map-explicit-types';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {expect} from 'chai';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {getProjectReflection} from '../src/common';
|
||||
import {readDefinitions} from '../src/uml/read-definitions';
|
||||
import {generatedModel} from './model/generated-model';
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {expect} from 'chai';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {join} from 'path';
|
||||
import {Converter, getValidatableTypesFromReflection} from '../src/schema';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import {Logger} from '@openstapps/logger';
|
||||
import {expect} from 'chai';
|
||||
import {existsSync, mkdirSync, writeFileSync} from 'fs';
|
||||
import {JSONSchema7 as Schema} from 'json-schema';
|
||||
import {slow, suite, test, timeout} from 'mocha-typescript';
|
||||
import {slow, suite, test, timeout} from '@testdeck/mocha';
|
||||
import {join} from 'path';
|
||||
import rimraf from 'rimraf';
|
||||
import {Foo} from '../src/resources/foo';
|
||||
|
||||
Reference in New Issue
Block a user