Created by: spicalous
querySelector() returns null but expect(document.querySelector('...')).toBeDefined()
checks that the value is not undefined
. This can lead to false positive tests
Created by: spicalous
querySelector() returns null but expect(document.querySelector('...')).toBeDefined()
checks that the value is not undefined
. This can lead to false positive tests