forked from react/create-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact.js
More file actions
22 lines (20 loc) · 646 Bytes
/
Copy pathreact.js
File metadata and controls
22 lines (20 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
import { parse } from '../../utils/parser';
test('15.y.z', () => {
expect(
parse(
`Warning: Each child in array should have a unique "key" prop. Check render method of \`FileA\`.
in div (at FileA.js:9)
in FileA (at App.js:9)
in div (at App.js:8)
in App (at index.js:7)`
)
).toMatchSnapshot();
});