Skip to content

Commit

Permalink
chore: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 3, 2024
1 parent 4e74447 commit 3937ed3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions apps/api/src/course-pack/tests/course-pack.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,6 @@ describe("CoursePackService", () => {
});
});

// describe("findAll", () => {
// // TODO
// // 这里需要测试 是否可以返回个人私有的课程包
// it("should return an array of course packs", async () => {
// await insertCoursePack(db);
// await insertCoursePack(db);

// const result = await coursePackService.findAllPublicCoursePacks();

// expect(result.length).toBe(2);
// });
// });

describe("findOne", () => {
it("should return a course pack for a valid ID", async () => {
const coursePackEntity = await insertCoursePack(db);
Expand Down

0 comments on commit 3937ed3

Please sign in to comment.