/
githubmirror
/
jest
Обзор
Документация
Войти
/
githubmirror
/
jest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
e2e/dom-diffing/__tests__/dom.test.js
19 строк
502 B
fisker Cheung
chore: update ESLint to v9 (#15531)
05 мар 2025, 16:49
Не верифицирован
05 мар 2025, 16:49
4e7d916
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ /* global document */ test('use toBe compare two div', () => { const div1 = document.createElement('div'); const div2 = document.createElement('div'); expect(div1).toBe(div2); }); test('compare span and div', () => { expect(document.createElement('div')).toBe(document.createElement('span')); });