mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Reduce dependencies on lodash (#1467)
* assign -> Object.assign * replace isundefined * remove forEach * remove some * remove reduce * remove keys * remove map * remove includes * remove filter * remove last * remove isstring * remove every * remove rearg * remove indexOf * remove values * remove startswith * remove first and pick * build smaller lodash * remove lodash.isequal package * add lodash-cli dev dependency * add lodash script * test fix * Revert "build smaller lodash" This reverts commit 979446e57f60b29cb5d377b54efe91cfbeae0707. * upgrade npm * change ===/!== undefined to ==/!= null
This commit is contained in:
@@ -31,8 +31,8 @@ describe('Connection', function () {
|
||||
it('default options', function () {
|
||||
const connection: any = new utils.common.Connection('url')
|
||||
assert.strictEqual(connection._url, 'url')
|
||||
assert(_.isUndefined(connection._config.proxy))
|
||||
assert(_.isUndefined(connection._config.authorization))
|
||||
assert(connection._config.proxy == null)
|
||||
assert(connection._config.authorization == null)
|
||||
})
|
||||
|
||||
describe('trace', () => {
|
||||
|
||||
Reference in New Issue
Block a user