Using ESLint 9 and its flat configuration, env is no more valid.
You have to add ...globals.jasmine in the globals object of the language options (in your eslint.config.mjs configuration file).
languageOptions: {
//...
globals: {
//...
...globals.jasmine
}
},