stricter subj name checking on question add, should log test fix

This commit is contained in:
mrfry 2023-03-07 19:43:55 +01:00
parent 537f4c413e
commit d962abfbc2
5 changed files with 144 additions and 51 deletions

View file

@ -7,9 +7,9 @@ const falsey = [5, '55', 47832, 'fhs']
test('ShouldLog works', () => {
truthy.forEach((x) => {
expect(shouldLog(x, noLogIds)).toBeTruthy()
})
falsey.forEach((x) => {
expect(shouldLog(x, noLogIds)).toBeFalsy()
})
falsey.forEach((x) => {
expect(shouldLog(x, noLogIds)).toBeTruthy()
})
})