📜  Jest not to Be - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.186000             🧑  作者: Mango

代码示例1
// .not - Test the opposite
const bestLaCroixFlavor = 'strawberry';
test('the best flavor is not coconut', () => {
  expect(bestLaCroixFlavor).not.toBe('coconut');
});