mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
finish test
This commit is contained in:
parent
4933347fb4
commit
ee309ad4e9
|
@ -1,5 +1,5 @@
|
|||
import React, { ReactComponentElement } from 'react';
|
||||
import { configure, mount } from 'enzyme';
|
||||
import { configure, mount, ReactWrapper } from 'enzyme';
|
||||
import toJson from 'enzyme-to-json';
|
||||
import StackTraceTab from '../src/StackTraceTab';
|
||||
|
||||
|
@ -7,8 +7,8 @@ import Adapter from 'enzyme-adapter-react-16';
|
|||
configure({ adapter: new Adapter() });
|
||||
|
||||
function genAsyncSnapshot(
|
||||
component: ReactComponentElement<any>,
|
||||
done: boolean
|
||||
component: ReactWrapper<any, any, any>,
|
||||
done: () => void
|
||||
) {
|
||||
setTimeout(() => {
|
||||
component.update();
|
||||
|
|
|
@ -301,12 +301,7 @@ exports[`StackTraceTab component should render with trace stack 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<span
|
||||
onClick={null}
|
||||
onKeyDown={null}
|
||||
style={null}
|
||||
tabIndex={null}
|
||||
>
|
||||
<span>
|
||||
app.js:72:24
|
||||
</span>
|
||||
</div>
|
||||
|
@ -345,12 +340,7 @@ exports[`StackTraceTab component should render with trace stack 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<span
|
||||
onClick={null}
|
||||
onKeyDown={null}
|
||||
style={null}
|
||||
tabIndex={null}
|
||||
>
|
||||
<span>
|
||||
app.js:84:31
|
||||
</span>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user