mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
fix: plugin related tests
This commit is contained in:
@@ -21,7 +21,7 @@ import {readFileSync} from 'fs';
|
||||
import {suite, test, timeout} from '@testdeck/mocha';
|
||||
import {resolve} from 'path';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
import {TestPlugin} from './TestPlugin';
|
||||
import {TestPlugin} from './plugin-resources/test-plugin';
|
||||
|
||||
chai.use(chaiSpies);
|
||||
|
||||
@@ -54,7 +54,7 @@ export class PluginSpec {
|
||||
|
||||
@test
|
||||
async construct() {
|
||||
const converter = new Converter(__dirname);
|
||||
const converter = new Converter(__dirname, resolve(__dirname,'plugin-resources','test-plugin-response.ts'));
|
||||
|
||||
sandbox.on(converter, 'getSchema', (schemaName) => {
|
||||
return {$id: schemaName};
|
||||
|
||||
Reference in New Issue
Block a user