Skip to content

Commit 81adbe1

Browse files
committed
cleanup
1 parent e2abc52 commit 81adbe1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

routes/__tests__/mount.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,15 @@ describe("Combined unit tests for the '/delete' route.", () => {
117117
expect(exists).toBe(true)
118118
})
119119
})
120+
121+
describe('Check to see that critical repo files are present', () => {
122+
it('root folder files', () => {
123+
const filePath = './' // Replace with the actual file path
124+
expect(fs.existsSync(filePath+"CODEOWNERS")).toBeTruthy()
125+
expect(fs.existsSync(filePath+"CONTRIBUTING.md")).toBeTruthy()
126+
expect(fs.existsSync(filePath+"README.md")).toBeTruthy()
127+
expect(fs.existsSync(filePath+".gitignore")).toBeTruthy()
128+
expect(fs.existsSync(filePath+"jest.config.js")).toBeTruthy()
129+
expect(fs.existsSync(filePath+"package.json")).toBeTruthy()
130+
})
131+
})

0 commit comments

Comments
 (0)