feat(tests): Add snapshot
This commit is contained in:
committed by
mrugesh mohapatra
parent
d52ba8c6fd
commit
f8a680caaa
@@ -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();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user