File: render-test-more-resilient.patch

package info (click to toggle)
node-axios 1.12.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,828 kB
  • sloc: javascript: 13,614; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: this test fail sometime in Deb CI
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2024-03-31

--- a/test/unit/adapters/http.js
+++ b/test/unit/adapters/http.js
@@ -407,7 +407,7 @@
           }
         }
       }).catch(function (error) {
-        assert.equal(error.message, 'Redirected request failed: Provided path is not allowed');
+        assert.match(error.message, /Provided path is not allowed/);
         done();
       }).catch(done);
     });