Odoo GraphQL Subscription using Node, Express JS for Sample
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
307 B

import { Observable } from '../src/Observable.js';
beforeEach(() => {
global.Observable = Observable;
global.hostError = null;
let $extensions = Object.getOwnPropertySymbols(Observable)[1];
let { hostReportError } = Observable[$extensions];
hostReportError.log = (e => global.hostError = e);
});