We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b1405 commit 5329ce0Copy full SHA for 5329ce0
src/tests/unit/snbt_importing.spec.ts
@@ -43,7 +43,7 @@ it("should apply a hex color to a text node", async () => {
43
it("should throw an error if the format is invalid", async () => {
44
const broken = await readTestDataFile("bad/broken.snbt");
45
const converted = convertToTextOrEmpty(broken);
46
- expect(converted.toString()).toMatch(
+ expect(converted.toString()).toContain(
47
/An error occurred while parsing the SNBT/,
48
);
49
});
0 commit comments