fix: Add tests for redirectToLearn

This commit is contained in:
Bouncey
2019-02-23 23:40:10 +00:00
committed by mrugesh mohapatra
parent 953e1b2e11
commit 014c26cd4e
3 changed files with 52 additions and 11 deletions

View File

@ -81,3 +81,8 @@ export const firstChallengeQuery = {
// first challenge of the first block of the first superBlock
where: { challengeOrder: 0, superOrder: 1, order: 0 }
};
export const mockPathMigrationMap = {
'challenge-one': '/learn/superblock/block/challenge-one',
'challenge-two': '/learn/superblock/block/challenge-two'
};