feat: protect admin APIs
This commit is contained in:
1 parent
4f027a3728
commit
1e9228e50a
13 files changed
+657
-95
No files matched your search
@@ -19,6 +19,11 @@ function run() {
|
||||
title: "a-very-long-subtitle-file-name-for-practice.vtt",
|
||||
isSelected: true,
|
||||
});
|
||||
assert.deepEqual(getFileInputState({ name: "lesson-cover.jpg" }, "封面图片"), {
|
||||
text: "已选:lesson-cover.jpg",
|
||||
title: "lesson-cover.jpg",
|
||||
isSelected: true,
|
||||
});
|
||||
}
|
||||
|
||||
run();
|
||||
Reference in new issue
Block a user