From gitlab at salsa.debian.org Tue Feb 20 10:33:53 2024 From: gitlab at salsa.debian.org (=?UTF-8?B?SsOpcsOpbXkgTGFsIChAa2Fwb3Vlcik=?=) Date: Tue, 20 Feb 2024 10:33:53 +0000 Subject: [Pkg-javascript-commits] [Git][js-team/node-marked][master] 2 commits: patch: allow tests to be slower Message-ID: <65d48011d6850_59e22f32ac426865eb@godard.mail> 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 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 + +--- 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: From gitlab at salsa.debian.org Tue Feb 20 10:34:01 2024 From: gitlab at salsa.debian.org (=?UTF-8?B?SsOpcsOpbXkgTGFsIChAa2Fwb3Vlcik=?=) Date: Tue, 20 Feb 2024 10:34:01 +0000 Subject: [Pkg-javascript-commits] [Git][js-team/node-marked] Pushed new tag debian/4.2.3+ds+_4.0.7-3 Message-ID: <65d4801921b80_59e22f32ac42686937@godard.mail> J?r?my Lal pushed new tag debian/4.2.3+ds+_4.0.7-3 at Debian JavaScript Maintainers / node-marked -- View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/tree/debian/4.2.3+ds+_4.0.7-3 You're receiving this email because of your account on salsa.debian.org. -------------- next part -------------- An HTML attachment was scrubbed... URL: