mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-22 19:57:14 +01:00
Add assert
as an function that "asserts" to eslint config
This commit is contained in:
parent
79c611a6f9
commit
e2c491088e
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ export default tsEslint.config(
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
// Custom `expectStuff()` functions must also count as assertions.
|
// Custom `expectStuff()` functions must also count as assertions.
|
||||||
assertFunctionNames: ['expect*', '*.expect*'],
|
assertFunctionNames: ['expect*', '*.expect*', 'assert*'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue