Control: tag -1 help On Tue, 12 Dec 2017 11:38:58 +0530 Pirate Praveen <prav...@debian.org> wrote: > I'd like to upload chai 4.1.2 to unstable soon, please fix the test failure.
v8flags 3.0.1 support chai 4, but now 3 tests fail. Changes pushed to alioth. mkdir -p test-home HOME=/<<PKGBUILDDIR>>/test-home mocha -R spec test.js v8flags 1) should cache and call back with the v8 flags for the running process ✓ should not append the file when multiple calls happen concurrently and the config file does not yet exist ✓ should fall back to writing to a temp dir if user home is unwriteable ✓ should return flags even if an error is thrown ✓ should back with an empty array if the runtime is electron 2) should handle usernames which are invalid file paths 3) should handle undefined usernames config-path ✓ should return default linux path in other environments ✓ should return default macos path in darwin environment ✓ should return default windows path in win32 environment ✓ should return fallback path when homedir is falsy platform specific tests - should return fallback path when no home is found under windows 8 passing (191ms) 1 pending 3 failing 1) v8flags should cache and call back with the v8 flags for the running process: Uncaught AssertionError: expected false to be true at test.js:67:46 at index.js:91:14 at FSReqWrap.oncomplete (fs.js:135:15) 2) v8flags should handle usernames which are invalid file paths: Uncaught AssertionError: expected [Error: ENOENT: no such file or directory, open 'undefined/.v8flags.6.1.534.48.c4d621d41b4fbc7ff499328bec392f92.json' Unable to cache a config file for v8flags to a your home directory or a temporary folder. To fix this problem, please correct your environment by setting HOME=/path/to/home or TEMP=/path/to/temp. NOTE: the user running this must be able to access provided path. If all else fails, please open an issue here: http://github.com/tkellen/js-v8flags] to be null at test.js:126:24 at index.js:122:16 at index.js:77:12 at ChildProcess.exithandler (child_process.js:267:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 3) v8flags should handle undefined usernames: Uncaught AssertionError: expected [Error: ENOENT: no such file or directory, open 'undefined/.v8flags.6.1.534.48.d41d8cd98f00b204e9800998ecf8427e.json' Unable to cache a config file for v8flags to a your home directory or a temporary folder. To fix this problem, please correct your environment by setting HOME=/path/to/home or TEMP=/path/to/temp. NOTE: the user running this must be able to access provided path. If all else fails, please open an issue here: http://github.com/tkellen/js-v8flags] to be null at test.js:135:24 at index.js:122:16 at index.js:77:12 at ChildProcess.exithandler (child_process.js:267:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
signature.asc
Description: OpenPGP digital signature
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel