Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix diffing object contain readonly symbol key object #10414

Prev Previous commit
Next Next commit
add eslint-env and copyright header
WeiAnAn committed Aug 19, 2020
commit b90b04f5e6478eda931e4c2cf5f3c358d9147bbd
8 changes: 8 additions & 0 deletions e2e/__tests__/domDiffing.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import runJest from '../runJest';
import {replaceTime} from '../Utils';

10 changes: 10 additions & 0 deletions e2e/dom-diffing/__tests__/dom.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

/* eslint-env browser */

test('use toBe compare two div', () => {
const div1 = document.createElement('div');
const div2 = document.createElement('div');