File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "test" : " `npm bin`/mocha --compilers js:babel-core/register test/**" ,
12- "prepublish" : " eslint . && `npm bin`/babel -q -d lib/ src/" ,
12+ "prepublish" : " `npm bin`/babel -q -d lib/ src/" ,
1313 "postinstall" : " node scripts/install.js"
1414 },
1515 "author" : " " ,
Original file line number Diff line number Diff line change 11import User from './user'
22import Client from './client'
33import Auth from './auth'
4- import util from './util'
4+ import * as util from './util'
55
66export default function ( appId , token , options ) {
77 return new Client ( appId , token , options ) ;
Original file line number Diff line number Diff line change 1+ import { util } from '../../src/simperium'
2+ import assert from 'assert'
3+
4+ describe ( 'Simperium' , ( ) => {
5+ it ( 'should export utils' , ( ) => {
6+ assert ( util )
7+ assert ( util . change )
8+ assert . equal ( typeof util . change . diff , 'function' )
9+ } )
10+ } )
You can’t perform that action at this time.
0 commit comments