Skip to content

Commit

Permalink
chore: update curriculum helpers to latest versions in test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Sembauke committed Mar 3, 2025
1 parent 0ba3297 commit 8002534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile-app/lib/ui/views/learn/test_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class TestRunner extends BaseViewModel {
String tail = challenge.files[0].tail ?? '';

return '''<script type="module">
import * as __helpers from "https://www.unpkg.com/@freecodecamp/curriculum-helpers@2.0.3/dist/index.mjs";
import * as __helpers from "https://www.unpkg.com/@freecodecamp/curriculum-helpers@3.9.0/dist/index.mjs";
const code = `$code`;
const doc = new DOMParser().parseFromString(code, 'text/html');
Expand Down Expand Up @@ -252,7 +252,7 @@ class TestRunner extends BaseViewModel {
String? tail = (challenge.files[0].tail ?? '').replaceAll('\\', '\\\\');

return '''<script type="module">
import * as __helpers from "https://unpkg.com/@freecodecamp/curriculum-helpers@1.1.0/dist/index.js";
import * as __helpers from "https://unpkg.com/@freecodecamp/curriculum-helpers@3.0.9/dist/index.js";
const assert = chai.assert;
const __checkForBrowserExtensions = false;
Expand Down

0 comments on commit 8002534

Please sign in to comment.