mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
build: update dependencies
This commit is contained in:
@@ -18,7 +18,7 @@ import chai from 'chai';
|
||||
import {expect} from 'chai';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {readFileSync} from 'fs';
|
||||
import {suite, test, timeout} from 'mocha-typescript';
|
||||
import {suite, test, timeout} from '@testdeck/mocha';
|
||||
import {resolve} from 'path';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
import {TestPlugin} from './TestPlugin';
|
||||
@@ -57,7 +57,7 @@ export class PluginSpec {
|
||||
const converter = new Converter(__dirname);
|
||||
|
||||
sandbox.on(converter, 'getSchema', (schemaName) => {
|
||||
return {id: schemaName};
|
||||
return {$id: schemaName};
|
||||
});
|
||||
|
||||
const constructTestPlugin = new TestPlugin(
|
||||
@@ -81,8 +81,8 @@ export class PluginSpec {
|
||||
// schemas are already covered, together with the directory and version
|
||||
// @ts-ignore active is private
|
||||
expect(constructTestPlugin.active).to.be.equal(false);
|
||||
expect(constructTestPlugin.requestSchema.id).to.be.equal('PluginTestRequest');
|
||||
expect(constructTestPlugin.responseSchema.id).to.be.equal('PluginTestResponse');
|
||||
expect(constructTestPlugin.requestSchema.$id).to.be.equal('PluginTestRequest');
|
||||
expect(constructTestPlugin.responseSchema.$id).to.be.equal('PluginTestResponse');
|
||||
|
||||
sandbox.on(constructTestPlugin, 'onRouteInvoke');
|
||||
await httpClient.request({
|
||||
|
||||
Reference in New Issue
Block a user