add cypress tests

This commit is contained in:
MxMarx 2023-10-21 21:47:04 -07:00
parent 0cbcfbd273
commit e8432d9a0d
34 changed files with 13497 additions and 56 deletions

View file

@ -124,6 +124,9 @@ class Server {
await this.init()
const app = express()
if (global.__coverage__) {
require('@cypress/code-coverage/middleware/express')(app)
}
const router = express.Router()
app.use(global.RouterBasePath, router)
app.disable('x-powered-by')