From 03f39e065c9a6936d1ab68699905704a1c750c8b Mon Sep 17 00:00:00 2001 From: Ivan Menshykov Date: Sun, 15 Sep 2019 11:18:19 +0200 Subject: [PATCH] Fix: Fixing the relative path in test --- src/utils/redirect-parser/line-parser.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/redirect-parser/line-parser.test.js b/src/utils/redirect-parser/line-parser.test.js index 923dfd93c5b..2c00c7bfc0b 100644 --- a/src/utils/redirect-parser/line-parser.test.js +++ b/src/utils/redirect-parser/line-parser.test.js @@ -276,7 +276,7 @@ test('complicated _redirects file', t => { }) test('long _redirects file', t => { - const source = fs.readFileSync('./test-files/redirects', { + const source = fs.readFileSync(__dirname + '/test-files/redirects', { encoding: 'utf-8', })