1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 29 Oct 2025 23:39:25 +0100
Subject: Sort filelist in test
Get filesystem insentive
forwarded: not-needed
---
test/coverage-map.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/coverage-map.js b/test/coverage-map.js
index 5b8eec6..7f6a283 100644
--- a/test/coverage-map.js
+++ b/test/coverage-map.js
@@ -1,10 +1,10 @@
const t = require('../')
const coverageMap = require('../coverage-map.js')
t.strictSame(coverageMap('test/coverage-map.js'), ['coverage-map.js'])
-t.strictSame(coverageMap('test/run/xyz.js'), [
+t.strictSame(coverageMap('test/run/xyz.js').sort(), [
'bin/jack.js',
'bin/jsx.js',
'bin/run.js'
-])
+].sort())
t.strictSame(coverageMap('test/glorp.js'), null)
t.strictSame(coverageMap('test/mocha.js'), ['lib/mocha.js'])
|