feat: redesign Exams List page to show submitted custom exams
- Added Custom Exams tab showing all exams from Generation page - Displays title, module badges, duration, and status - Added Create Exam button - Kept Exam Sessions tab for institutional sessions - Search filters across exams Made-with: Cursor
This commit is contained in:
13
node_modules/@testing-library/dom/dist/get-node-text.js
generated
vendored
Normal file
13
node_modules/@testing-library/dom/dist/get-node-text.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.getNodeText = getNodeText;
|
||||
var _helpers = require("./helpers");
|
||||
function getNodeText(node) {
|
||||
if (node.matches('input[type=submit], input[type=button], input[type=reset]')) {
|
||||
return node.value;
|
||||
}
|
||||
return Array.from(node.childNodes).filter(child => child.nodeType === _helpers.TEXT_NODE && Boolean(child.textContent)).map(c => c.textContent).join('');
|
||||
}
|
||||
Reference in New Issue
Block a user