mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 13:51:35 +00:00
add cypress tests
This commit is contained in:
parent
0cbcfbd273
commit
e8432d9a0d
34 changed files with 13497 additions and 56 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue