Skip to content

Commit

Permalink
fix Broker test
Browse files Browse the repository at this point in the history
  • Loading branch information
nahuelarjonadev committed Aug 22, 2019
1 parent a7f1c8a commit b47c4e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/app/__tests__/Broker.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ describe('Broker.jsx unit tests', () => {

it('should render <BrokerViews/>', () => {
const instance = wrapper.instance();
expect(instance.state.brokersSnapshots).toEqual([]);
expect(instance.state.brokersSnapshots).toEqual([
{ isAlive: true, brokerId: 5, brokerURI: 'localhost:9092', topics: [] },
]);
wrapper.setState({
brokersSnapshots: [
[
Expand Down

0 comments on commit b47c4e1

Please sign in to comment.