[Pkg-javascript-commits] [Git][js-team/node-marked][master] 2 commits: patch: allow tests to be slower
Jérémy Lal (@kapouer)
gitlab at salsa.debian.org
Tue Feb 20 10:33:53 GMT 2024
Jérémy Lal pushed to branch master at Debian JavaScript Maintainers / node-marked
Commits:
05b223ce by Jérémy Lal at 2024-02-20T11:31:34+01:00
patch: allow tests to be slower
- - - - -
1f3aa945 by Jérémy Lal at 2024-02-20T11:32:15+01:00
Update changelog; release
- - - - -
3 changed files:
- debian/changelog
- debian/patches/series
- + debian/patches/slow_tests.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+node-marked (4.2.3+ds+~4.0.7-3) unstable; urgency=medium
+
+ * Team upload
+ * patch: allow tests to be slower
+
+ -- Jérémy Lal <kapouer at melix.org> Tue, 20 Feb 2024 11:32:12 +0100
+
node-marked (4.2.3+ds+~4.0.7-2) unstable; urgency=medium
* Team upload
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
2001_man_global.patch
reproducible.patch
+slow_tests.patch
=====================================
debian/patches/slow_tests.patch
=====================================
@@ -0,0 +1,15 @@
+Description: allow tests to take < 5 seconds
+Forwarded: not-needed
+Author: Jérémy Lal <kapouer at melix.org>
+
+--- a/test/specs/run-spec.js
++++ b/test/specs/run-spec.js
+@@ -39,7 +39,7 @@
+ await expectAsync(spec).toRender(spec.html);
+ }
+ const elapsed = process.hrtime(before);
+- if (elapsed[0] > 0) {
++ if (elapsed[0] > 5) {
+ const s = (elapsed[0] + elapsed[1] * 1e-9).toFixed(3);
+ fail(`took too long: ${s}s`);
+ }
View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/compare/8f70e7cfd8664c6709e2668007b708e6828f159c...1f3aa945b566294042266b31f6aa0cff91220904
--
View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/compare/8f70e7cfd8664c6709e2668007b708e6828f159c...1f3aa945b566294042266b31f6aa0cff91220904
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20240220/820d1521/attachment-0001.htm>
More information about the Pkg-javascript-commits
mailing list