mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Convert child-writer.spec.js to typescript
Change-type: patch
This commit is contained in:
parent
914a4574de
commit
2d3776844c
@ -14,15 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict'
|
import { expect } from 'chai';
|
||||||
|
import * as ipc from 'node-ipc';
|
||||||
|
|
||||||
const m = require('mochainon')
|
import('../../../lib/gui/modules/child-writer');
|
||||||
const ipc = require('node-ipc')
|
|
||||||
// eslint-disable-next-line node/no-missing-require
|
|
||||||
require('../../../lib/gui/modules/child-writer')
|
|
||||||
|
|
||||||
describe('Browser: childWriter', function () {
|
describe('Browser: childWriter', function() {
|
||||||
it('should have the ipc config set to silent', function () {
|
it('should have the ipc config set to silent', function() {
|
||||||
m.chai.expect(ipc.config.silent).to.be.true
|
expect(ipc.config.silent).to.be.true;
|
||||||
})
|
});
|
||||||
})
|
});
|
Loading…
x
Reference in New Issue
Block a user