chore(curriculum): fix + test curriculum order (#44366)
* chore(tools): test curriculum order * chore: update orders * fix(tests): temporarily ignore cert super The Relational Databases cert being 'upcomingChanges' is breaking the tests. * fix: graphql query here * fix: use only one meta * chore: remove unnecessary superOrders * chore: zero-based indexing * fix: update mock * refactor: remove unused fixture Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e18ccef2f2
commit
8372623f69
@@ -138,7 +138,7 @@ export function Map({
|
||||
currentSuperBlock = null
|
||||
}: MapProps): React.ReactElement {
|
||||
/*
|
||||
* this query gets the first challenge from each block and the second block
|
||||
* this query gets the first challenge from each block and the first block
|
||||
* from each superblock, leaving you with one challenge from each
|
||||
* superblock
|
||||
*/
|
||||
@@ -146,7 +146,7 @@ export function Map({
|
||||
query SuperBlockNodes {
|
||||
allChallengeNode(
|
||||
sort: { fields: [superOrder] }
|
||||
filter: { order: { eq: 2 }, challengeOrder: { eq: 1 } }
|
||||
filter: { order: { eq: 0 }, challengeOrder: { eq: 0 } }
|
||||
) {
|
||||
nodes {
|
||||
superBlock
|
||||
|
Reference in New Issue
Block a user