auth0 / auth0.js

Auth0 headless browser sdk
MIT License
987 stars 492 forks source link

Tests failing and example not working #286

Closed bragma closed 7 years ago

bragma commented 7 years ago

Hi, I've just cloned the repository and I have problems running tests in a windows command line, some tests fail:

  1. git clone https://github.com/auth0/auth0.js.git
  2. npm install (see below for logs)
  3. npm test (see below for logs - there seem to be some errors)
  4. npm start
  5. Open chrome at http://localhost:3000/example/ -> I see the example page, but buttons do not work. Nothing happens on the net and no events trigger. There is an error on the console:
SW registered
Navigated to http://localhost:3000/example/
(index):65 Uncaught TypeError: Cannot read property 'error' of null
    at HTMLConsole.dumpCallback ((index):65)
    at (index):182
    at WebAuth.parseHash (index.js:110)
    at (index):177
HTMLConsole.dumpCallback @ (index):65
(anonymous) @ (index):182
WebAuth.parseHash @ index.js:110
(anonymous) @ (index):177

Am I missing anything?

NPM INSTALL LOGS:

C:\Devel\auth0.js>npm install
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN prefer global marked@0.3.6 should be installed with -g

> execSync@1.0.2 install C:\Devel\auth0.js\node_modules\execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
{ Error: spawn node-gyp ENOENT
    at exports._errnoException (util.js:896:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Function.Module.runMain (module.js:577:11)
    at startup (node.js:159:18)
    at node.js:444:3
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn node-gyp',
  path: 'node-gyp',
  spawnargs: [ 'rebuild' ] }
[execSync v1.0.2]
    Native code compile failed!!
    Will try to use win32 extension.
auth0-js@8.0.1 C:\Devel\auth0.js
+-- base64-js@1.2.0
+-- codecov@1.0.1
| +-- argv@0.0.2
| +-- execSync@1.0.2
| | `-- temp@0.5.1
| |   `-- rimraf@2.1.4
| |     `-- graceful-fs@1.2.3
| +-- request@2.79.0
| | +-- aws-sign2@0.6.0
| | +-- aws4@1.5.0
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | `-- delayed-stream@1.0.0
| | +-- forever-agent@0.6.1
| | +-- form-data@2.1.2
| | +-- har-validator@2.0.6
| | | `-- pinkie-promise@2.0.1
| | |   `-- pinkie@2.0.4
| | +-- hawk@3.1.3
| | | +-- boom@2.10.1
| | | +-- cryptiles@2.0.5
| | | +-- hoek@2.16.3
| | | `-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.3.1
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.3
| | | | `-- verror@1.3.6
| | | `-- sshpk@1.10.1
| | |   +-- asn1@0.2.3
| | |   +-- assert-plus@1.0.0
| | |   +-- bcrypt-pbkdf@1.0.0
| | |   +-- dashdash@1.14.1
| | |   | `-- assert-plus@1.0.0
| | |   +-- ecc-jsbn@0.1.1
| | |   +-- getpass@0.1.6
| | |   | `-- assert-plus@1.0.0
| | |   +-- jodid25519@1.0.2
| | |   `-- tweetnacl@0.14.5
| | +-- is-typedarray@1.0.0
| | +-- isstream@0.1.2
| | +-- json-stringify-safe@5.0.1
| | +-- mime-types@2.1.13
| | | `-- mime-db@1.25.0
| | +-- oauth-sign@0.8.2
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.3.2
| | +-- tunnel-agent@0.4.3
| | `-- uuid@3.0.1
| `-- urlgrey@0.4.4
+-- component-cdn-uploader@1.0.0  (git://github.com/auth0/component-cdn-uploader.git#bcb103056c24c5b873580b22f9dc0d1617ed34db)
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- has-ansi@2.0.0
| | `-- supports-color@2.0.0
| +-- meow@3.7.0
| | +-- camelcase-keys@2.1.0
| | | `-- camelcase@2.1.1
| | +-- decamelize@1.2.0
| | +-- loud-rejection@1.6.0
| | | +-- currently-unhandled@0.4.1
| | | | `-- array-find-index@1.0.2
| | | `-- signal-exit@3.0.2
| | +-- map-obj@1.0.1
| | +-- normalize-package-data@2.3.5
| | | +-- hosted-git-info@2.1.5
| | | +-- is-builtin-module@1.0.0
| | | `-- validate-npm-package-license@3.0.1
| | |   +-- spdx-correct@1.0.2
| | |   | `-- spdx-license-ids@1.2.2
| | |   `-- spdx-expression-parse@1.0.4
| | +-- read-pkg-up@1.0.1
| | | `-- read-pkg@1.1.0
| | |   +-- load-json-file@1.1.0
| | |   | +-- graceful-fs@4.1.11
| | |   | +-- parse-json@2.2.0
| | |   | | `-- error-ex@1.3.0
| | |   | |   `-- is-arrayish@0.2.1
| | |   | `-- strip-bom@2.0.0
| | |   `-- path-type@1.1.0
| | |     `-- graceful-fs@4.1.11
| | +-- redent@1.0.0
| | | +-- indent-string@2.1.0
| | | | `-- repeating@2.0.1
| | | |   `-- is-finite@1.0.2
| | | `-- strip-indent@1.0.1
| | |   `-- get-stdin@4.0.1
| | `-- trim-newlines@1.0.0
| +-- rx@4.1.0
| `-- s3@4.4.0
|   +-- aws-sdk@2.0.31
|   | +-- xml2js@0.2.6
|   | | `-- sax@0.4.2
|   | `-- xmlbuilder@0.4.2
|   +-- fd-slicer@1.0.1
|   +-- findit2@2.2.3
|   +-- graceful-fs@3.0.11
|   | `-- natives@1.1.0
|   +-- mime@1.2.11
|   +-- pend@1.2.0
|   +-- rimraf@2.2.8
|   `-- streamsink@1.2.0
+-- eslint@3.7.1
| +-- concat-stream@1.6.0
| | +-- inherits@2.0.3
| | `-- typedarray@0.0.6
| +-- debug@2.6.0
| | `-- ms@0.7.2
| +-- doctrine@1.5.0
| | `-- isarray@1.0.0
| +-- escope@3.6.0
| | +-- es6-weak-map@2.0.1
| | `-- esrecurse@4.1.0
| |   `-- estraverse@4.1.1
| +-- espree@3.3.2
| | +-- acorn@4.0.4
| | `-- acorn-jsx@3.0.1
| |   `-- acorn@3.3.0
| +-- estraverse@4.2.0
| +-- esutils@2.0.2
| +-- file-entry-cache@2.0.0
| | `-- flat-cache@1.2.2
| |   +-- circular-json@0.3.1
| |   +-- del@2.2.2
| |   | +-- globby@5.0.0
| |   | | `-- array-union@1.0.2
| |   | +-- is-path-cwd@1.0.0
| |   | +-- is-path-in-cwd@1.0.0
| |   | | `-- is-path-inside@1.0.0
| |   | +-- pify@2.3.0
| |   | `-- rimraf@2.5.4
| |   +-- graceful-fs@4.1.11
| |   `-- write@0.2.1
| +-- glob@7.1.1
| | +-- fs.realpath@1.0.0
| | +-- inflight@1.0.6
| | `-- path-is-absolute@1.0.1
| +-- globals@9.14.0
| +-- ignore@3.2.0
| +-- imurmurhash@0.1.4
| +-- inquirer@0.12.0
| | +-- ansi-escapes@1.4.0
| | +-- ansi-regex@2.0.0
| | +-- cli-cursor@1.0.2
| | | `-- restore-cursor@1.0.1
| | |   +-- exit-hook@1.1.1
| | |   `-- onetime@1.1.0
| | +-- cli-width@2.1.0
| | +-- figures@1.7.0
| | +-- readline2@1.0.1
| | | +-- code-point-at@1.1.0
| | | +-- is-fullwidth-code-point@1.0.0
| | | | `-- number-is-nan@1.0.1
| | | `-- mute-stream@0.0.5
| | +-- run-async@0.1.0
| | +-- rx-lite@3.1.2
| | `-- string-width@1.0.2
| +-- is-my-json-valid@2.15.0
| | +-- generate-function@2.0.0
| | +-- generate-object-property@1.2.0
| | | `-- is-property@1.0.2
| | +-- jsonpointer@4.0.1
| | `-- xtend@4.0.1
| +-- is-resolvable@1.0.0
| | `-- tryit@1.0.3
| +-- js-yaml@3.7.0
| | `-- argparse@1.0.9
| |   `-- sprintf-js@1.0.3
| +-- json-stable-stringify@1.0.1
| | `-- jsonify@0.0.0
| +-- levn@0.3.0
| | +-- prelude-ls@1.1.2
| | `-- type-check@0.3.2
| +-- lodash@4.17.4
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- natural-compare@1.4.0
| +-- optionator@0.8.2
| | +-- deep-is@0.1.3
| | `-- fast-levenshtein@2.0.6
| +-- path-is-inside@1.0.2
| +-- pluralize@1.2.1
| +-- progress@1.1.8
| +-- require-uncached@1.0.3
| | +-- caller-path@0.1.0
| | | `-- callsites@0.2.0
| | `-- resolve-from@1.0.1
| +-- shelljs@0.6.1
| +-- strip-bom@3.0.0
| +-- strip-json-comments@1.0.4
| +-- table@3.8.3
| | +-- ajv@4.10.3
| | | `-- co@4.6.0
| | +-- ajv-keywords@1.5.0
| | +-- slice-ansi@0.0.4
| | `-- string-width@2.0.0
| |   `-- is-fullwidth-code-point@2.0.0
| +-- text-table@0.2.0
| `-- user-home@2.0.0
|   `-- os-homedir@1.0.2
+-- eslint-config-auth0-base@6.0.0
| `-- eslint-config-airbnb-base@5.0.3
+-- eslint-plugin-import@1.16.0
| +-- builtin-modules@1.1.1
| +-- contains-path@0.1.0
| +-- doctrine@1.3.0
| +-- es6-map@0.1.4
| | +-- d@0.1.1
| | +-- es5-ext@0.10.12
| | +-- es6-iterator@2.0.0
| | +-- es6-symbol@3.1.0
| | `-- event-emitter@0.3.4
| +-- es6-set@0.1.4
| +-- eslint-import-resolver-node@0.2.3
| | `-- resolve@1.2.0
| +-- has@1.0.1
| | `-- function-bind@1.1.0
| +-- lodash.cond@4.5.2
| +-- lodash.endswith@4.2.1
| +-- lodash.find@4.6.0
| +-- lodash.findindex@4.6.0
| +-- minimatch@3.0.3
| | `-- brace-expansion@1.1.6
| |   +-- balanced-match@0.4.2
| |   `-- concat-map@0.0.1
| +-- object-assign@4.1.0
| +-- pkg-dir@1.0.0
| | `-- find-up@1.1.2
| |   `-- path-exists@2.1.0
| `-- pkg-up@1.0.0
+-- expect.js@0.2.0
+-- gulp@3.9.1
| +-- archy@1.0.0
| +-- deprecated@0.0.1
| +-- interpret@1.0.1
| +-- liftoff@2.3.0
| | +-- findup-sync@0.4.3
| | | +-- detect-file@0.1.0
| | | | `-- fs-exists-sync@0.1.0
| | | +-- is-glob@2.0.1
| | | `-- resolve-dir@0.1.1
| | |   `-- global-modules@0.2.3
| | |     +-- global-prefix@0.1.5
| | |     | +-- homedir-polyfill@1.0.1
| | |     | | `-- parse-passwd@1.0.0
| | |     | `-- ini@1.3.4
| | |     `-- is-windows@0.2.0
| | +-- fined@1.0.2
| | | +-- expand-tilde@1.2.2
| | | +-- lodash.assignwith@4.2.0
| | | +-- lodash.isempty@4.4.0
| | | `-- parse-filepath@1.0.1
| | |   +-- is-absolute@0.2.6
| | |   | `-- is-relative@0.2.1
| | |   |   `-- is-unc-path@0.1.2
| | |   |     `-- unc-path-regex@0.1.2
| | |   +-- map-cache@0.2.2
| | |   `-- path-root@0.1.1
| | |     `-- path-root-regex@0.1.2
| | +-- flagged-respawn@0.3.2
| | +-- lodash.isplainobject@4.0.6
| | +-- lodash.isstring@4.0.1
| | +-- lodash.mapvalues@4.6.0
| | `-- rechoir@0.6.2
| +-- minimist@1.2.0
| +-- orchestrator@0.3.8
| | +-- end-of-stream@0.1.5
| | | `-- once@1.3.3
| | +-- sequencify@0.0.7
| | `-- stream-consume@0.1.0
| +-- pretty-hrtime@1.0.3
| +-- semver@4.3.6
| +-- tildify@1.2.0
| +-- v8flags@2.0.11
| | `-- user-home@1.1.1
| `-- vinyl-fs@0.3.14
|   +-- defaults@1.0.3
|   +-- glob-stream@3.1.18
|   | +-- glob@4.5.3
|   | +-- glob2base@0.0.12
|   | | `-- find-index@0.1.1
|   | +-- minimatch@2.0.10
|   | +-- ordered-read-streams@0.1.0
|   | +-- through2@0.6.5
|   | | `-- readable-stream@1.0.34
|   | |   `-- isarray@0.0.1
|   | `-- unique-stream@1.0.0
|   +-- glob-watcher@0.0.6
|   | `-- gaze@0.5.2
|   |   `-- globule@0.1.0
|   |     +-- glob@3.1.21
|   |     | `-- inherits@1.0.2
|   |     +-- lodash@1.0.2
|   |     `-- minimatch@0.2.14
|   |       +-- lru-cache@2.7.3
|   |       `-- sigmund@1.0.1
|   +-- graceful-fs@3.0.11
|   +-- strip-bom@1.0.0
|   | +-- first-chunk-stream@1.0.0
|   | `-- is-utf8@0.2.1
|   +-- through2@0.6.5
|   | `-- readable-stream@1.0.34
|   |   `-- isarray@0.0.1
|   `-- vinyl@0.4.6
|     `-- clone@0.2.0
+-- gulp-util@3.0.8
| +-- array-differ@1.0.0
| +-- array-uniq@1.0.3
| +-- beeper@1.1.1
| +-- dateformat@2.0.0
| +-- fancy-log@1.3.0
| | `-- time-stamp@1.0.1
| +-- gulplog@1.0.0
| | `-- glogg@1.0.0
| +-- has-gulplog@0.1.0
| | `-- sparkles@1.0.0
| +-- lodash._reescape@3.0.0
| +-- lodash._reevaluate@3.0.0
| +-- lodash._reinterpolate@3.0.0
| +-- lodash.template@3.6.2
| | +-- lodash._basecopy@3.0.1
| | +-- lodash._basetostring@3.0.1
| | +-- lodash._basevalues@3.0.0
| | +-- lodash._isiterateecall@3.0.9
| | +-- lodash.escape@3.2.0
| | | `-- lodash._root@3.0.1
| | +-- lodash.keys@3.1.2
| | | +-- lodash._getnative@3.9.1
| | | +-- lodash.isarguments@3.1.0
| | | `-- lodash.isarray@3.0.4
| | +-- lodash.restparam@3.6.1
| | `-- lodash.templatesettings@3.1.1
| +-- multipipe@0.1.2
| | `-- duplexer2@0.0.2
| |   `-- readable-stream@1.1.14
| |     `-- isarray@0.0.1
| +-- object-assign@3.0.0
| +-- replace-ext@0.0.1
| +-- through2@2.0.3
| `-- vinyl@0.5.3
|   `-- clone-stats@0.0.1
+-- idtoken-verifier@1.0.0
| +-- crypto-js@3.1.9-1
| +-- jsbn@0.1.0
| `-- superagent@2.3.0
|   `-- form-data@1.0.0-rc4
+-- istanbul@0.4.5
| +-- abbrev@1.0.9
| +-- async@1.5.2
| +-- escodegen@1.8.1
| | +-- estraverse@1.9.3
| | `-- source-map@0.2.0
| +-- esprima@2.7.3
| +-- glob@5.0.15
| +-- handlebars@4.0.6
| | `-- source-map@0.4.4
| +-- nopt@3.0.6
| +-- once@1.4.0
| | `-- wrappy@1.0.2
| +-- resolve@1.1.7
| +-- supports-color@3.1.2
| | `-- has-flag@1.0.0
| +-- which@1.2.12
| | `-- isexe@1.1.2
| `-- wordwrap@1.0.0
+-- jsdoc-to-markdown@2.0.1
| +-- array-back@1.0.4
| | `-- typical@2.6.0
| +-- command-line-tool@0.6.4
| | +-- ansi-escape-sequences@3.0.0
| | +-- command-line-args@3.0.5
| | | `-- find-replace@1.0.2
| | `-- command-line-usage@3.0.8
| |   `-- table-layout@0.3.0
| |     +-- deep-extend@0.4.1
| |     `-- wordwrapjs@2.0.0
| +-- config-master@2.0.4
| | `-- babel-polyfill@6.20.0
| |   +-- babel-runtime@6.20.0
| |   `-- regenerator-runtime@0.10.1
| +-- core-js@2.4.1
| +-- dmd@2.1.2
| | +-- cache-point@0.3.4
| | +-- common-sequence@1.0.2
| | +-- file-set@1.1.1
| | +-- handlebars@3.0.3
| | | +-- source-map@0.1.43
| | | `-- uglify-js@2.3.6
| | |   +-- async@0.2.10
| | |   `-- optimist@0.3.7
| | |     `-- wordwrap@0.0.3
| | +-- marked@0.3.6
| | +-- object-get@2.1.0
| | +-- reduce-flatten@1.0.1
| | +-- reduce-unique@1.0.0
| | +-- reduce-without@1.0.1
| | `-- test-value@2.1.0
| +-- feature-detect-es6@1.3.1
| +-- jsdoc-api@2.0.6
| | +-- collect-all@1.0.2
| | | +-- stream-connect@1.0.2
| | | `-- stream-via@1.0.3
| | +-- fs-then-native@1.0.2
| | +-- jsdoc-75lb@3.6.0
| | | +-- bluebird@3.4.7
| | | +-- catharsis@0.8.8
| | | | `-- underscore-contrib@0.3.0
| | | |   `-- underscore@1.6.0
| | | +-- espree@3.1.7
| | | | `-- acorn@3.3.0
| | | +-- js2xmlparser@1.0.0
| | | +-- klaw@1.3.1
| | | | `-- graceful-fs@4.1.11
| | | +-- requizzle@0.2.1
| | | | `-- underscore@1.6.0
| | | +-- strip-json-comments@2.0.1
| | | +-- taffydb@2.6.2
| | | `-- underscore@1.8.3
| | +-- object-to-spawn-args@1.1.0
| | `-- temp-path@1.0.0
| +-- jsdoc-parse@2.0.5
| | +-- lodash.omit@4.5.0
| | +-- lodash.pick@4.4.0
| | +-- reduce-extract@1.0.0
| | | `-- test-value@1.1.0
| | `-- sort-array@1.1.1
| +-- jsdoc2md-stats@1.0.6
| | `-- app-usage-stats@0.4.1
| |   +-- home-path@1.0.3
| |   `-- usage-stats@0.8.2
| |     +-- cli-commands@0.1.0
| |     | `-- command-line-commands@1.0.4
| |     `-- req-then@0.5.1
| |       `-- defer-promise@1.0.0
| `-- walk-back@2.0.1
+-- mocha@3.2.0
| +-- browser-stdout@1.3.0
| +-- commander@2.9.0
| | `-- graceful-readlink@1.0.1
| +-- debug@2.2.0
| | `-- ms@0.7.1
| +-- diff@1.4.0
| +-- escape-string-regexp@1.0.5
| +-- glob@7.0.5
| +-- growl@1.9.2
| +-- json3@3.3.2
| +-- lodash.create@3.1.1
| | +-- lodash._baseassign@3.2.0
| | `-- lodash._basecreate@3.0.3
| `-- supports-color@3.1.2
+-- semver@5.3.0
+-- sinon@1.17.7
| +-- formatio@1.1.1
| +-- lolex@1.3.2
| +-- samsam@1.1.2
| `-- util@0.10.3
|   `-- inherits@2.0.1
+-- smart-banner-webpack-plugin@2.0.0
| `-- webpack@1.13.3
|   +-- acorn@3.3.0
|   +-- interpret@0.6.6
|   +-- node-libs-browser@0.6.0
|   | +-- constants-browserify@0.0.1
|   | +-- crypto-browserify@3.2.8
|   | +-- http-browserify@1.7.0
|   | | `-- Base64@0.2.1
|   | +-- https-browserify@0.0.0
|   | +-- os-browserify@0.1.2
|   | +-- readable-stream@1.1.14
|   | | `-- isarray@0.0.1
|   | +-- stream-browserify@1.0.0
|   | | `-- readable-stream@1.1.14
|   | |   `-- isarray@0.0.1
|   | +-- timers-browserify@1.4.2
|   | `-- url@0.10.3
|   |   `-- punycode@1.3.2
|   `-- supports-color@3.1.2
+-- superagent@3.3.1
| +-- component-emitter@1.2.1
| +-- cookiejar@2.1.0
| +-- extend@3.0.0
| +-- form-data@2.1.2
| | `-- asynckit@0.4.0
| +-- formidable@1.0.17
| +-- methods@1.1.2
| +-- mime@1.3.4
| +-- qs@6.3.0
| `-- readable-stream@2.2.2
|   +-- buffer-shims@1.0.0
|   +-- core-util-is@1.0.2
|   +-- process-nextick-args@1.0.7
|   +-- string_decoder@0.10.31
|   `-- util-deprecate@1.0.2
+-- unminified-webpack-plugin@1.2.0
+-- url-join@1.1.0
+-- webpack@1.14.0
| +-- acorn@3.3.0
| +-- clone@1.0.2
| +-- enhanced-resolve@0.9.1
| | +-- graceful-fs@4.1.11
| | `-- memory-fs@0.2.0
| +-- interpret@0.6.6
| +-- loader-utils@0.2.16
| | +-- big.js@3.1.3
| | +-- emojis-list@2.1.0
| | `-- json5@0.5.1
| +-- memory-fs@0.3.0
| | `-- errno@0.1.4
| |   `-- prr@0.0.0
| +-- node-libs-browser@0.7.0
| | +-- assert@1.4.1
| | +-- browserify-zlib@0.1.4
| | | `-- pako@0.2.9
| | +-- buffer@4.9.1
| | | `-- ieee754@1.1.8
| | +-- console-browserify@1.1.0
| | | `-- date-now@0.1.4
| | +-- constants-browserify@1.0.0
| | +-- crypto-browserify@3.3.0
| | | +-- browserify-aes@0.4.0
| | | +-- pbkdf2-compat@2.0.1
| | | +-- ripemd160@0.2.0
| | | `-- sha.js@2.2.6
| | +-- domain-browser@1.1.7
| | +-- events@1.1.1
| | +-- https-browserify@0.0.1
| | +-- os-browserify@0.2.1
| | +-- path-browserify@0.0.0
| | +-- process@0.11.9
| | +-- punycode@1.4.1
| | +-- querystring-es3@0.2.1
| | +-- stream-browserify@2.0.1
| | +-- stream-http@2.5.0
| | | +-- builtin-status-codes@2.0.0
| | | `-- to-arraybuffer@1.0.1
| | +-- timers-browserify@2.0.2
| | | `-- setimmediate@1.0.5
| | +-- tty-browserify@0.0.0
| | +-- url@0.11.0
| | | `-- punycode@1.3.2
| | `-- vm-browserify@0.0.4
| |   `-- indexof@0.0.1
| +-- optimist@0.6.1
| | +-- minimist@0.0.10
| | `-- wordwrap@0.0.3
| +-- supports-color@3.1.2
| +-- tapable@0.1.10
| +-- uglify-js@2.7.5
| | +-- async@0.2.10
| | +-- source-map@0.5.6
| | +-- uglify-to-browserify@1.0.2
| | `-- yargs@3.10.0
| |   +-- camelcase@1.2.1
| |   +-- cliui@2.1.0
| |   | +-- center-align@0.1.3
| |   | | +-- align-text@0.1.4
| |   | | | +-- longest@1.0.1
| |   | | | `-- repeat-string@1.6.1
| |   | | `-- lazy-cache@1.0.4
| |   | +-- right-align@0.1.3
| |   | `-- wordwrap@0.0.2
| |   `-- window-size@0.1.0
| `-- watchpack@0.2.9
|   +-- async@0.9.2
|   +-- chokidar@1.6.1
|   | +-- anymatch@1.3.0
|   | | `-- arrify@1.0.1
|   | +-- async-each@1.0.1
|   | +-- glob-parent@2.0.0
|   | +-- is-binary-path@1.0.1
|   | | `-- binary-extensions@1.8.0
|   | `-- readdirp@2.1.0
|   |   +-- graceful-fs@4.1.11
|   |   `-- set-immediate-shim@1.0.1
|   `-- graceful-fs@4.1.11
+-- webpack-core@0.6.9
| +-- source-list-map@0.1.7
| `-- source-map@0.4.4
|   `-- amdefine@1.0.1
+-- webpack-custom-var-library-name-plugin@1.0.0
+-- webpack-dev-server@1.16.2
| +-- compression@1.6.2
| | +-- accepts@1.3.3
| | | `-- negotiator@0.6.1
| | +-- bytes@2.3.0
| | +-- compressible@2.0.9
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | +-- on-headers@1.0.1
| | `-- vary@1.1.0
| +-- connect-history-api-fallback@1.3.0
| +-- express@4.14.0
| | +-- array-flatten@1.1.1
| | +-- content-disposition@0.5.1
| | +-- content-type@1.0.2
| | +-- cookie@0.3.1
| | +-- cookie-signature@1.0.6
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | +-- depd@1.1.0
| | +-- encodeurl@1.0.1
| | +-- escape-html@1.0.3
| | +-- etag@1.7.0
| | +-- finalhandler@0.5.0
| | | +-- debug@2.2.0
| | | | `-- ms@0.7.1
| | | +-- statuses@1.3.1
| | | `-- unpipe@1.0.0
| | +-- fresh@0.3.0
| | +-- merge-descriptors@1.0.1
| | +-- on-finished@2.3.0
| | | `-- ee-first@1.1.1
| | +-- parseurl@1.3.1
| | +-- path-to-regexp@0.1.7
| | +-- proxy-addr@1.1.2
| | | +-- forwarded@0.1.0
| | | `-- ipaddr.js@1.1.1
| | +-- qs@6.2.0
| | +-- range-parser@1.2.0
| | +-- send@0.14.1
| | | +-- debug@2.2.0
| | | +-- destroy@1.0.4
| | | `-- ms@0.7.1
| | +-- serve-static@1.11.1
| | +-- type-is@1.6.14
| | | `-- media-typer@0.3.0
| | `-- utils-merge@1.0.0
| +-- http-proxy-middleware@0.17.3
| | +-- http-proxy@1.16.2
| | | +-- eventemitter3@1.2.0
| | | `-- requires-port@1.0.0
| | +-- is-glob@3.1.0
| | | `-- is-extglob@2.1.1
| | `-- micromatch@2.3.11
| |   +-- arr-diff@2.0.0
| |   | `-- arr-flatten@1.0.1
| |   +-- array-unique@0.2.1
| |   +-- braces@1.8.5
| |   | +-- expand-range@1.8.2
| |   | | `-- fill-range@2.2.3
| |   | |   +-- is-number@2.1.0
| |   | |   +-- isobject@2.1.0
| |   | |   `-- randomatic@1.1.6
| |   | +-- preserve@0.2.0
| |   | `-- repeat-element@1.1.2
| |   +-- expand-brackets@0.1.5
| |   | `-- is-posix-bracket@0.1.1
| |   +-- extglob@0.3.2
| |   +-- filename-regex@2.0.0
| |   +-- is-extglob@1.0.0
| |   +-- kind-of@3.1.0
| |   | `-- is-buffer@1.1.4
| |   +-- normalize-path@2.0.1
| |   +-- object.omit@2.0.1
| |   | +-- for-own@0.1.4
| |   | | `-- for-in@0.1.6
| |   | `-- is-extendable@0.1.1
| |   +-- parse-glob@3.0.4
| |   | +-- glob-base@0.3.0
| |   | `-- is-dotfile@1.0.2
| |   `-- regex-cache@0.4.3
| |     +-- is-equal-shallow@0.1.3
| |     `-- is-primitive@2.0.0
| +-- open@0.0.5
| +-- serve-index@1.8.0
| | +-- batch@0.5.3
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | `-- http-errors@1.5.1
| |   `-- setprototypeof@1.0.2
| +-- sockjs@0.3.18
| | +-- faye-websocket@0.10.0
| | | `-- websocket-driver@0.6.5
| | |   `-- websocket-extensions@0.1.1
| | `-- uuid@2.0.3
| +-- sockjs-client@1.1.1
| | +-- eventsource@0.1.6
| | | `-- original@1.0.0
| | |   `-- url-parse@1.0.5
| | +-- faye-websocket@0.11.0
| | `-- url-parse@1.1.7
| |   `-- querystringify@0.0.4
| +-- stream-cache@0.0.2
| +-- strip-ansi@3.0.1
| +-- supports-color@3.1.2
| `-- webpack-dev-middleware@1.9.0
|   `-- memory-fs@0.4.1
+-- webpack-hot-middleware@2.15.0
| +-- ansi-html@0.0.6
| +-- html-entities@1.2.0
| `-- querystring@0.2.0
+-- webpack-stream@3.2.0
| +-- lodash.clone@4.5.0
| +-- lodash.some@4.6.0
| +-- through@2.3.8
| `-- vinyl@1.2.0
`-- winchan@0.1.4

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.17

NPM TEST LOGS:

C:\Devel\auth0.js>npm test

> auth0-js@8.0.1 test C:\Devel\auth0.js
> mocha test/**/*.test.js

  auth0.authentication
    initialization
      √ should check that options is passed
      √ should check that domain is set
      √ should check that clientID is set
    buildAuthorizeUrl
      √ should check that options is valid
      √ should return a url using the default settings
      √ should return a url with connection_scope
      √ should return a url with connection_scope as a string
      √ should return a url using overriding the default settings
    buildAuthorizeUrl with Telemetry
      √ should return a url using overriding the default settings
    buildLogoutUrl
      √ should check that options is valid
      √ should return a url using the default settings
      √ should ignore the clientID
      √ should return a url using overriding the default settings
    buildLogoutUrl with Telemetry
      √ should return a url using overriding the default settings
    userInfo
      √ should call userinfo with the access token
    delegation
`delegation` will be soon deprecated.
      √ should call delegation with all the options
    login
      √ should call oauthToken with all the options
      √ should call oauthToken with all the options
    oauthToken
      √ should allow to login
    getUserCountry
      √ should return the user country code
    getSSOData
`getSSOData` will be soon deprecated.
      √ should call ssodata with all the options
    getSSOData
`getSSOData` will be soon deprecated.
      √ should call ssodata with all the ad options

  auth0.authentication
    dbConnection signup options
      √ should check that options is passed
      √ should check that options.connection is passed
      √ should check that options.email is passed
      √ should check that options.password is passed
      √ should check that cb is valid
    change password options
      √ should check that options is passed
      √ should check that options.connection is passed
      √ should check that options.email is passed
      √ should check that cb is valid

  auth0.authentication
    passwordless start options
      √ should check that options is passed
      √ should check that options.connection is passed
      √ should check that options.type is passed
      √ should check that options.type is valid
      √ should check that cb is valid
      √ should check that email is sent
      √ should check that phoneNumber is sent
    passwordless verify options
      √ should check that options is passed
      √ should check that options.connection is passed
      √ should check that options.type is passed
      √ should check that options.verificationCode is passed
      √ should check that options.type is valid
      √ should check that cb is valid
      √ should check that email is sent
      √ should check that phoneNumber is sent
    passwordless verify
      √ should call passwordless verify sms with all the options
      √ should call passwordless verify email with all the options

  auth0.authentication
    /oauth/ro
`loginWithResourceOwner` will be soon deprecated, user `login` instead.
      √ should call the ro endpoint with all the parameters
`loginWithResourceOwner` will be soon deprecated, user `login` instead.
      √ should handle ro errors
`loginWithResourceOwner` will be soon deprecated, user `login` instead.
      √ should call the ro endpoint overriding the parameters

  helpers assert
    isArray native
      √ should say it is a valid isArray
      √ should say it is NOT a valid isArray
    isArray polyfill
      √ should show an error in the console
      √ should say it is NOT a valid isArray

  helpers cookies
    √ create a cookie with exp
    √ create a cookie without exp
    √ returns null if the cookie does not exist
    √ returns the cookie value
    √ should handle multiple cookies
    √ returns the cookie value (with ;)
    √ should reset the expiration
    √ handle cookie not available

  helpers iframeHandler
    should render the iframe
      √ and hook to the message event (234ms)
      √ and hook to the load event (1084ms)
      √ , hook to the load event and returns an error (214ms)
      √ and hook to the load event (with invalid hash) should timeout (210ms)
      √ and timeout (213ms)
      √ and timeout (without a timeout callback) (105ms)

  helpers
    pick
      √ should return only the requested attributes
      √ should ignore missing keys
    extend
      √ shold merge objects attributes
      √ shold merge objects attributes and override the first object ones
    merge
      √ shold merge without pick
      √ shold merge picking attributes of the base object
      √ shold merge picking attributes of the second object
      √ shold merge picking attributes of both objects
    blacklist
      √ should return all the attributes not blacklisted
    toSnakeCase
      √ should change the casing to all the attributes
      √ should change the casing to all the attributes that are not blacklisted
    toCamelCase
      √ should change the casing to all the attributes
      √ should change the casing to all the attributes that are not blacklisted

  helpers popupHandler
    calculates the window position
      √ should use default values
      √ should use the size from the parameters
    calculates the window position w screen left/top and body client size
      √ should use default values
      √ should use the size from the parameters
    stringifies the window properties
      √ using the options received
    should open the popup
      √ with the correct parametrs
    preload should open the popup
      √ should open the window
      √ should open the window once

  helpers qs
    build
      √ return the formated query string
    parse
      √ return the formated query string
    build and parse
      √ return the formated query string

  helpers random
    randomString with crypto
      √ return the a random string
    randomString with msCrypto
      √ return the a random string
    randomString without crypto
      √ return the a random string

  helpers requestBuilder
    √ should get stuff
    √ should post stuff
    √ should patch stuff

  helpers responseHandler
    √ should return default error
    √ should return normalized format 1
    √ should return normalized format 2
    √ should return normalized format 3
    √ should return normalized format 4
    √ should return normalized format 4
    √ should return the data
    √ should return the data 2

  helpers storage handler
    √ should use localStorage by default
    √ should use cookie storage is localstorage is not available
Error: fail
    at MockLocalStorage.getItem (C:\Devel\auth0.js\test\helper\storage-handler.test.js:10:57)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:26:25)
    at Context.<anonymous> (C:\Devel\auth0.js\test\helper\storage-handler.test.js:54:13)
    at callFn (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:345:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:337:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
LocalStorage: failing over CookieStorage
    √ should use cookie storage is localstorage fails with getItem
Error: fail
    at MockLocalStorage.setItem (C:\Devel\auth0.js\test\helper\storage-handler.test.js:12:57)
    at StorageHandler.setItem (C:\Devel\auth0.js\src\helper\storage\handler.js:46:25)
    at Context.<anonymous> (C:\Devel\auth0.js\test\helper\storage-handler.test.js:81:13)
    at callFn (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:345:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:337:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
LocalStorage: failing over CookieStorage
    √ should use cookie storage is localstorage fails with setItem
Error: fail
    at MockLocalStorage.removeItem (C:\Devel\auth0.js\test\helper\storage-handler.test.js:11:60)
    at StorageHandler.removeItem (C:\Devel\auth0.js\src\helper\storage\handler.js:36:25)
    at Context.<anonymous> (C:\Devel\auth0.js\test\helper\storage-handler.test.js:110:13)
    at callFn (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:345:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:337:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
LocalStorage: failing over CookieStorage
    √ should use cookie storage is localstorage fails with removeItem
LocalStorage: failing over CookieStorage
CookieStorage: failing over DummyStorage
DummyStorage: ignore failover
    √ should failover to dummy

  helpers storage
    with localstorage
      √ should store stuff
    without localstorage and with cookies
Error: localStorage not available
    at Object.localStorage.getItem (C:\Devel\auth0.js\test\helper\storage.test.js:47:44)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:26:25)
    at Object.module.exports.getItem (C:\Devel\auth0.js\src\helper\storage.js:13:30)
    at Context.<anonymous> (C:\Devel\auth0.js\test\helper\storage.test.js:62:22)
    at callFn (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:345:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:337:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
LocalStorage: failing over CookieStorage
      √ should store stuff
    with dummy storage
Error: cookie storage not available
    at Object.read (C:\Devel\auth0.js\src\helper\cookies.js:32:11)
    at CookieStorage.getItem (C:\Devel\auth0.js\src\helper\storage\cookie.js:7:18)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:26:25)
    at Object.module.exports.getItem (C:\Devel\auth0.js\src\helper\storage.js:13:30)
    at Context.<anonymous> (C:\Devel\auth0.js\test\helper\storage.test.js:89:22)
    at callFn (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:345:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:337:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
CookieStorage: failing over DummyStorage
      √ should ignore the data

  helpers warn
    √ should show a warning in the console
    √ should not show a warning in the console

  helpers window
    √ should redirect
    √ should return the window.document object
    √ should return the window object

  auth0.Management
    initialization
      √ should check that options is passed
      √ should check that domain is set
      √ should check that token is set
    getUser options
      √ should check that userId is valid
      √ should check that cb is valid
    getUser
      √ should fetch the user from the api
    patchUserMetadata options
      √ should check that userId is valid
      √ should check that userMetadata is valid
      √ should check that cb is valid
    patchUserMetadata
      √ should fetch the user from the api
    linkUsers options
      √ should check that userId is valid
      √ should check that secondaryUserToken is valid
      √ should check that cb is valid
    linkUsers
      √ should fetch the user from the api

  auth0.WebAuth.popup
    getPopupHandler
      √ should return a new instance
      √ should return not a new instance
    preload should open the popup
      √ should open the window
    authorize
      √ should open the authorize page in a popup
    login
`webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead.
      √ should do the redirections in the popup
    passwordlessVerify
`loginWithResourceOwner` will be soon deprecated, user `login` instead.
      √ (phone) should do the redirections in the popup
`loginWithResourceOwner` will be soon deprecated, user `login` instead.
      √ (email) should do the redirections in the popup
      √ should propagate the error
    signup and login
`webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead.
      √ should call db-connection signup with all the options
      √ should propagate signup errors

  auth0.WebAuth.redirect
    signup
      √ should call db-connection signup with all the options
    login
`webauth.redirect.loginWithCredentials` will be soon deprecated, use `webauth.login` instead.
      √ should authenticate the user, render the callback form and submit it
    login
`webauth.redirect.loginWithCredentials` will be soon deprecated, use `webauth.login` instead.
      √ should propagate the error
    signup and login
`webauth.redirect.loginWithCredentials` will be soon deprecated, use `webauth.login` instead.
      √ should call db-connection signup with all the options
      √ should propagate signup errors
    passwordlessVerify
      √ should verify the code and redirect to the passwordless verify page
    passwordlessVerify without telemetry
      √ should verify the code and redirect to the passwordless verify page
    passwordlessVerify with error
      √ should verify the code and redirect to the passwordless verify page
    authenticate
      √ should check that responseType is present
      √ should redirect to authorize
      √ should redirect to logout

  auth0.WebAuth
    nonce validation
      √ should fail if the nonce is not valid
    paseHash
Error: expected 'com.auth0.auth.theState' to equal 'com.auth0.auth.456'
    at Assertion.assert (C:\Devel\auth0.js\node_modules\expect.js\expect.js:99:13)
    at Assertion.be.Assertion.equal (C:\Devel\auth0.js\node_modules\expect.js\expect.js:200:10)
    at Assertion.(anonymous function) [as be] (C:\Devel\auth0.js\node_modules\expect.js\expect.js:73:24)
    at Object.global.window.localStorage.getItem (C:\Devel\auth0.js\test\web-auth\web-auth.test.js:27:24)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:26:25)
    at Object.module.exports.getItem (C:\Devel\auth0.js\src\helper\storage.js:13:30)
    at TransactionManager.getStoredTransaction (C:\Devel\auth0.js\src\web-auth\transaction-manager.js:55:29)
    at WebAuth.validateToken (C:\Devel\auth0.js\src\web-auth\index.js:154:41)
    at WebAuth.parseHash (C:\Devel\auth0.js\src\web-auth\index.js:114:10)
    at Context.<anonymous> (C:\Devel\auth0.js\test\web-auth\web-auth.test.js:96:26)
    at callFnAsync (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:368:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:318:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
LocalStorage: failing over CookieStorage
TypeError: Cannot read property 'cookie' of undefined
    at Object.read (C:\Devel\auth0.js\src\helper\cookies.js:30:34)
    at CookieStorage.getItem (C:\Devel\auth0.js\src\helper\storage\cookie.js:7:18)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:26:25)
    at StorageHandler.getItem (C:\Devel\auth0.js\src\helper\storage\handler.js:30:17)
    at Object.module.exports.getItem (C:\Devel\auth0.js\src\helper\storage.js:13:30)
    at TransactionManager.getStoredTransaction (C:\Devel\auth0.js\src\web-auth\transaction-manager.js:55:29)
    at WebAuth.validateToken (C:\Devel\auth0.js\src\web-auth\index.js:154:41)
    at WebAuth.parseHash (C:\Devel\auth0.js\src\web-auth\index.js:114:10)
    at Context.<anonymous> (C:\Devel\auth0.js\test\web-auth\web-auth.test.js:96:26)
    at callFnAsync (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:368:21)
    at Test.Runnable.run (C:\Devel\auth0.js\node_modules\mocha\lib\runnable.js:318:7)
    at Runner.runTest (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:444:10)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:550:12
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:361:14)
    at C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:371:7
    at next (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:295:14)
    at Immediate._onImmediate (C:\Devel\auth0.js\node_modules\mocha\lib\runner.js:339:5)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
CookieStorage: failing over DummyStorage
      √ should parse a valid hash (737ms)
      √ should parse a valid hash from the location.hash
      √ should parse a valid hash without id_token
      √ should fail with an invalid audience
      √ should fail with an invalid issuer
      √ should fail if there is no token
      √ should parse an error response
    renewAuth
      √ should pass the correct authorize url
    login
      √ should check that responseType is present
    renewAuth
      √ should validate the token (818ms)
      √ should return the access_token
      √ should validate the token and fail
    change password
      √ should call db-connection changePassword with all the options
      √ should call db-connection changePassword should ignore password option
    passwordless start
      √ should call passwordless start sms with all the options
      √ should call passwordless start email with all the options
    signup and login
      √ should call db-connection signup with all the options
      √ should propagate signup errors

  175 passing (4s)

C:\Devel\auth0.js>
glena commented 7 years ago

Yes there is an error with the console widget. All tests are passing.

I will push the fix later today