Throw error for tests without expectations

This commit is contained in:
Alexandre Vryghem
2023-07-01 12:00:00 +01:00
parent 884aa07430
commit bfaea741d5

View File

@@ -15,7 +15,10 @@ module.exports = function (config) {
],
client: {
clearContext: false, // leave Jasmine Spec Runner output visible in browser
captureConsole: false
captureConsole: false,
jasmine: {
failSpecWithNoExpectations: true
}
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/dspace-angular'),