Skip to content

Commit

Permalink
Skip tests for Node 8
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Feb 10, 2020
1 parent e46eab3 commit bb8a6f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/lib/server/middleware/serveResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ test.serial.cb("Check if version replacement is done", (t) => {
});
});

test.serial.cb("Check if utf8 characters are correctly processed in version replacement", (t) => {
// Skip test in Node v8 as unicode handling of streams seems to be broken
test.serial[
process.version.startsWith("v8.") ? "skip" : "cb"
]("Check if utf8 characters are correctly processed in version replacement", (t) => {
const utf8string = "Κυ";
const expected = utf8string;

Expand Down

0 comments on commit bb8a6f9

Please sign in to comment.