Dear maintainer,

Whether the issue arises or not depends on the timezone of the system.
For instance the test suite fails in the following timezones: Etc/GMT,
Etc/GMT+1 or Pacific/Tahiti (and ina lot of others too).

I couldn't find a reliable way to set the timezone after node has started.
I've found the following discussion in the NodeJS issue tracker
confirming this situation:
https://github.com/nodejs/node-v0.x-archive/issues/3286

IMHO it would thus be best to set the timezone to UTC before running the
tests. This can easily be achieved from debian/control:

    override_dh_auto_test:
        TZ=Etc/UTC mocha -R spec

Cheers,
-- Florian

Attachment: signature.asc
Description: PGP 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

Reply via email to