Skip to content

Commit d5886c4

Browse files
committed
test: make sure module is correct
This kills a mutant right away
1 parent 4108da7 commit d5886c4

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/__snapshots__/index.test.tsx.snap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ exports[`Serialization function serializes a JSON+LD script element with data se
77
Object {}
88
</script>
99
`;
10+
11+
exports[`Serialization module matches expectations 1`] = `
12+
Object {
13+
"print": [Function],
14+
"test": [Function],
15+
}
16+
`;

src/index.test.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ describe("Serialization function", () => {
4949
expect(ldScriptElement).toMatchSnapshot();
5050
});
5151
});
52+
53+
describe("Serialization module", () => {
54+
it("matches expectations", () => {
55+
expect(serializer).toMatchSnapshot();
56+
});
57+
});

0 commit comments

Comments
 (0)