chore: fix noop inspector, update integration tests

This commit is contained in:
Kamil Myśliwiec
2023-01-11 19:54:49 +01:00
parent 3f8ddfec7e
commit d4d5955424
5 changed files with 19 additions and 15 deletions

View File

@@ -1,5 +1,9 @@
import { GraphInspector } from './graph-inspector';
export const NoopGraphInspector: GraphInspector = Object.create(
const noop = () => {};
export const NoopGraphInspector: GraphInspector = new Proxy(
GraphInspector.prototype,
{
get: () => noop,
},
);