Convert child-writer.spec.js to typescript

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-01-15 23:07:51 +01:00 committed by Alexis Svinartchouk
parent 914a4574de
commit 2d3776844c

View File

@ -14,15 +14,13 @@
* limitations under the License.
*/
'use strict'
import { expect } from 'chai';
import * as ipc from 'node-ipc';
const m = require('mochainon')
const ipc = require('node-ipc')
// eslint-disable-next-line node/no-missing-require
require('../../../lib/gui/modules/child-writer')
import('../../../lib/gui/modules/child-writer');
describe('Browser: childWriter', function () {
it('should have the ipc config set to silent', function () {
m.chai.expect(ipc.config.silent).to.be.true
})
})
describe('Browser: childWriter', function() {
it('should have the ipc config set to silent', function() {
expect(ipc.config.silent).to.be.true;
});
});