File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- import chai from 'chai' ;
1
+ import { use as chaiUse } from 'chai' ;
2
2
import chaiAsPromised from 'chai-as-promised' ;
3
3
4
4
// Enable chai-as-promised plugin.
5
- chai . use ( chaiAsPromised ) ;
5
+ chaiUse ( chaiAsPromised ) ;
Original file line number Diff line number Diff line change 1
1
import EventEmitter from 'events' ;
2
2
3
- import chai from 'chai' ;
3
+ import { assert } from 'chai' ;
4
4
import { afterEach , describe , it } from 'mocha' ;
5
5
import * as sinon from 'sinon' ;
6
6
@@ -36,8 +36,6 @@ ${fakeSocketFilePrefix} /dev/socket/mdns
36
36
${ fakeSocketFilePrefix } ${ fakeRDPUnixSocketFile }
37
37
` ;
38
38
39
- const { assert } = chai ;
40
-
41
39
function getFakeADBKit ( { adbClient = { } , adbkitUtil = { } , adbDevice = { } } ) {
42
40
const fakeTransfer = new EventEmitter ( ) ;
43
41
const adbUtilReadAllStub = sinon . stub ( ) ;
You can’t perform that action at this time.
0 commit comments