Skip to content

Commit

Permalink
test: make sure module is correct
Browse files Browse the repository at this point in the history
This kills a mutant right away
  • Loading branch information
keplersj committed Aug 20, 2019
1 parent 4108da7 commit d5886c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/__snapshots__/index.test.tsx.snap
Expand Up @@ -7,3 +7,10 @@ exports[`Serialization function serializes a JSON+LD script element with data se
Object {}
</script>
`;

exports[`Serialization module matches expectations 1`] = `
Object {
"print": [Function],
"test": [Function],
}
`;
6 changes: 6 additions & 0 deletions src/index.test.tsx
Expand Up @@ -49,3 +49,9 @@ describe("Serialization function", () => {
expect(ldScriptElement).toMatchSnapshot();
});
});

describe("Serialization module", () => {
it("matches expectations", () => {
expect(serializer).toMatchSnapshot();
});
});

0 comments on commit d5886c4

Please sign in to comment.