mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Move all dev *Hook tests and ComponentTreeTestUtils to expectDev (#8350)
This commit is contained in:
@@ -35,7 +35,7 @@ function expectTree(rootID, expectedTree, parentPath) {
|
||||
function expectEqual(actual, expected, name) {
|
||||
// Get Jasmine to print descriptive error messages.
|
||||
// We pass path so that we know where the mismatch occurred.
|
||||
expect({
|
||||
expectDev({
|
||||
path,
|
||||
[name]: actual,
|
||||
}).toEqual({
|
||||
|
||||
Reference in New Issue
Block a user