diff --git a/package.json b/package.json index d7ef31c115..0887e7b61f 100644 --- a/package.json +++ b/package.json @@ -72,16 +72,16 @@ "phaser": "~3.90.0", "query-string": "^9.0.0", "re-resizable": "^6.9.9", - "react": "^18.3.1", + "react": "^19.1.0", "react-ace": "^14.0.0", "react-copy-to-clipboard": "^5.1.0", "react-debounce-render": "^8.0.2", - "react-dom": "^18.3.1", + "react-dom": "^19.1.0", "react-drag-drop-files": "^3.0.0", "react-draggable": "^4.4.5", "react-dropzone": "^14.2.3", "react-i18next": "^15.0.0", - "react-konva": "^18.2.10", + "react-konva": "^19.0.7", "react-latex-next": "^3.0.0", "react-mde": "^11.5.0", "react-papaparse": "^4.0.2", @@ -138,12 +138,11 @@ "@types/js-cookie": "^3.0.6", "@types/js-yaml": "^4.0.5", "@types/lodash": "^4.14.195", - "@types/react": "^18.3.3", + "@types/react": "^19.1.8", "@types/react-copy-to-clipboard": "^5.0.4", - "@types/react-dom": "^18.3.0", + "@types/react-dom": "^19.1.6", "@types/react-redux": "^7.1.24", "@types/react-syntax-highlighter": "^15.5.7", - "@types/react-test-renderer": "^18.0.0", "@types/redux-mock-store": "^1.0.3", "@types/showdown": "^2.0.1", "@types/xml2js": "^0.4.11", @@ -171,10 +170,10 @@ "prettier": "^3.3.3", "process": "^0.11.10", "react-error-overlay": "^6.0.11", - "react-test-renderer": "^18.2.0", "redux-saga-test-plan": "^4.0.6", "resize-observer-polyfill": "^1.5.1", "sass": "^1.63.6", + "shallow-react-snapshot": "^0.2.2", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "timers-browserify": "^2.0.12", diff --git a/src/commons/__tests__/__snapshots__/ContentDisplay.tsx.snap b/src/commons/__tests__/__snapshots__/ContentDisplay.tsx.snap index a10dcc05e0..cd84441922 100644 --- a/src/commons/__tests__/__snapshots__/ContentDisplay.tsx.snap +++ b/src/commons/__tests__/__snapshots__/ContentDisplay.tsx.snap @@ -1,19 +1,21 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`ContentDisplay page renders correctly 1`] = ` -
The book Structure and Interpretation of Computer Programs, JavaScript Edition -uses JavaScript sublanguages that we call Source. You have chosen the sublanguage Source §1.
-In the editor on the left, you can use the Ace keyboard shortcuts -and also the Source Academy keyboard shortcuts.
", - } - } -/> ++ Welcome to the Source Academy playground! +
+ + ++ The book + + + Structure and Interpretation of Computer Programs, JavaScript Edition + + + +uses JavaScript sublanguages that we call + + + Source + + + . You have chosen the sublanguage + + + Source §1 + + + . +
+ + ++ In the editor on the left, you can use the + + + Ace keyboard shortcuts + + + +and also the + + + Source Academy keyboard shortcuts + + + . +
++ This is a test for the UI of the unopened assessment overview. It links to the mock Mission 0 +
const a = 5;
-
-Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
- doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
- veritatis et quasi architecto beatae vitae dicta sunt
- explicabo
.
+ + Lorem ipsum + + dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor + incididunt ut labore et dolore magna aliqua. +
+ + +
+
+ const a = 5;
+
+
+
+
+
+
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
+
+
+ doloremque laudantium
+
+ , totam rem aperiam, eaque ipsa quae ab illo inventore
+
+
+ veritatis et quasi architecto
+
+ beatae vitae dicta sunt
+
+
+ explicabo
+
+ .
+
- 1 -+
+ 1 ++
- 2 -+
+ 2 ++
- 3 -+
+ 3 ++
- This work is licensed under a
-
+
+
- All JavaScript programs in this work are licensed under the - +
+ This work is licensed under a + + Creative Commons Attribution-ShareAlike 4.0 International License + + . +
+
-
- Print and Kindle versions of this work
-
+
- are published by The MIT Press under a
-
+
+ All JavaScript programs in this work are licensed under the + + GNU General Public License Version 3 + + . +
++ + Print and Kindle versions of this work + + are published by The MIT Press under a + + Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License + + . +
+