File tree Expand file tree Collapse file tree 13 files changed +39
-39
lines changed
Expand file tree Collapse file tree 13 files changed +39
-39
lines changed Original file line number Diff line number Diff line change 1- const sinon = require ( 'sinon' ) ;
2- const helper = require ( '../lib/helper' ) ;
1+ import sinon from 'sinon' ;
2+ import helper from '../lib/helper' ;
33
44const getFakes = ( validator , output ) => {
55 const fetch = ( url , options ) => {
@@ -48,7 +48,7 @@ const config = {
4848 realm : 'https://valid.realm.url/api' ,
4949} ;
5050
51- module . exports = {
51+ export default {
5252 getFakes,
5353 stubNetwork,
5454 config,
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const lib = require ( '../lib/index' ) ;
3- const common = require ( './common' ) ;
1+ import chai from 'chai' ;
2+ import lib from '../lib/index' ;
3+ import common from './common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const accounts = require ( '../../lib/resources/accounts' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import accounts from '../../lib/resources/accounts' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const emojis = require ( '../../lib/resources/emojis' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import emojis from '../../lib/resources/emojis' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const events = require ( '../../lib/resources/events' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import events from '../../lib/resources/events' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const filters = require ( '../../lib/resources/filters' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import filters from '../../lib/resources/filters' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const messages = require ( '../../lib/resources/messages' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import messages from '../../lib/resources/messages' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const queues = require ( '../../lib/resources/queues' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import queues from '../../lib/resources/queues' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const reactions = require ( '../../lib/resources/reactions' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import reactions from '../../lib/resources/reactions' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
Original file line number Diff line number Diff line change 1- const chai = require ( 'chai' ) ;
2- const server = require ( '../../lib/resources/server' ) ;
3- const common = require ( '../common' ) ;
1+ import chai from 'chai' ;
2+ import server from '../../lib/resources/server' ;
3+ import common from '../common' ;
44
55chai . should ( ) ;
66
You can’t perform that action at this time.
0 commit comments