In your main project’s directory (where all the src, build.gradle.kts etc are) create new dir, call it karma.config.d
inside a js file called karma.config.js
with following content:
config.set({
client: {
mocha: {
timeout: 5000
}
}
})