Export as export = moxios to match the moxios package export. (#16913)

This commit is contained in:
flushentitypacket
2017-06-06 18:31:41 -07:00
committed by Andy
parent 4ab8603649
commit 7d5307d0ec
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -189,4 +189,4 @@ declare let moxios: {
wait(fn: () => void, delay?: number): void;
};
export default moxios;
export = moxios;
+1 -1
View File
@@ -1,7 +1,7 @@
// from https://github.com/mzabriskie/moxios/blob/master/test.js
import {equal, notEqual, deepEqual} from 'power-assert'; // compatible with 'assert';
import axios from 'axios';
import moxios from 'moxios';
import * as moxios from 'moxios';
declare const sinon: any;
declare const describe: any;