JEST espera não conter

expect('some string').toEqual(expect.not.stringContaining('something else'))
foloinfo