Skip to content

Commit e90ae09

Browse files
Merge pull request StellarDevHub#744 from adeniran19-maker/feat/issues-679-683-686-694
feat: Quiz Schema & Validation Engine, Course Versioning, Lesson 1 Playground Hook, and DID Registry Contract
2 parents 4a91a64 + 0f9034b commit e90ae09

27 files changed

Lines changed: 1202 additions & 88 deletions

backend/jest.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
process.env.NODE_ENV = 'test';
33

44
export default {
5-
setupFiles: ['dotenv/config', '<rootDir>/jest.setup.js'],
5+
setupFiles: [
6+
'dotenv/config',
7+
'<rootDir>/jest.setup.js',
8+
'<rootDir>/tests/jest.setup.ts',
9+
],
610
preset: 'ts-jest',
711
testEnvironment: 'node',
812
extensionsToTreatAsEsm: ['.ts'],
913
moduleNameMapper: {
1014
'^(\\.{1,2}/.*)\\.js$': '$1',
1115
},
12-
setupFiles: ['<rootDir>/tests/jest.setup.ts'],
1316
transform: {
1417
'^.+\\.tsx?$': [
1518
'ts-jest',

backend/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@
3737
"ioredis": "^5.10.1",
3838
"json2csv": "^6.0.0-alpha.2",
3939
"jsonwebtoken": "^9.0.2",
40+
"marked": "^9.1.6",
4041
"openai": "^6.32.0",
4142
"pg": "^8.20.0",
4243
"prisma": "^7.8.0",
4344
"qrcode": "^1.5.4",
45+
"sanitize-html": "^2.17.5",
4446
"socket.io": "^4.8.3",
4547
"swagger-jsdoc": "^6.3.0",
4648
"swagger-ui-express": "^5.0.1",
@@ -58,6 +60,7 @@
5860
"@types/jsonwebtoken": "^9.0.10",
5961
"@types/node": "^25.5.0",
6062
"@types/qrcode": "^1.5.5",
63+
"@types/sanitize-html": "^2.16.1",
6164
"@types/supertest": "^7.2.0",
6265
"@types/swagger-jsdoc": "^6.0.4",
6366
"@types/swagger-ui-express": "^4.1.8",

0 commit comments

Comments
 (0)