feat(tests): Add snapshot

This commit is contained in:
Bouncey
2018-10-07 09:11:36 +01:00
committed by mrugesh mohapatra
parent d52ba8c6fd
commit f8a680caaa
2 changed files with 21 additions and 0 deletions

View File

@@ -29,4 +29,8 @@ describe('createPathMigrationMap', () => {
it('does not add uri migrations for private challenges', () => {
expect(pathMap['challenge-nine']).toBeUndefined();
});
it('output snapshot', () => {
expect(createPathMigrationMap(mockCurriculum)).toMatchSnapshot();
});
});