test: enable tests for steps (#44550)

* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-12-22 20:18:06 +00:00
committed by GitHub
parent 4be4bf3624
commit 36363f277d
141 changed files with 267 additions and 201 deletions

View File

@@ -33,6 +33,7 @@ jobs:
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Lint Source Files
@@ -66,6 +67,7 @@ jobs:
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Install Dependencies

View File

@@ -25,7 +25,10 @@ jobs:
cache: 'npm'
- name: Set Environment variables
run: cp sample.env .env
run: |
cp sample.env .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Lint Source Files
run: |
@@ -55,7 +58,10 @@ jobs:
cache: npm
- name: Set Environment variables
run: cp sample.env .env
run: |
cp sample.env .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Install Dependencies
run: |
@@ -90,6 +96,8 @@ jobs:
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Install Dependencies
run: |
@@ -122,7 +130,11 @@ jobs:
cache: npm
- name: Set Environment variables
run: cp sample.env .env
run: |
cp sample.env .env
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
echo 'SHOW_NEW_CURRICULUM=true' >> .env
cat .env
- name: Install Dependencies
env: