feat: show reference score and training progress
parent
7b5d816066
commit
bad2437914
@ -0,0 +1,12 @@
|
||||
const assert = require("assert");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const source = fs.readFileSync(path.join(__dirname, "..", "src", "views", "teacherEnd", "score", "index.vue"), "utf8");
|
||||
|
||||
assert.match(source, /prop="score"\s+label="参考成绩"/);
|
||||
assert.match(source, /label="实训进度"/);
|
||||
assert.match(source, /formatTrainingProgress/);
|
||||
assert.match(source, /return "--"/);
|
||||
|
||||
console.log("score reference progress static checks passed");
|
||||
Loading…
Reference in New Issue