build: update dependencies

This commit is contained in:
Michel Jonathan Schmitz
2020-11-02 09:35:49 +01:00
parent 92a21052f1
commit 2822aac652
12 changed files with 2591 additions and 1570 deletions

View File

@@ -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({