fix timing-reliant network controller test

feature/default_network_editable
Erik Marks 4 years ago
parent f6f8e5cc4a
commit 5cb22ee8df
  1. 2
      test/unit/app/controllers/network/network-controller-test.js

@ -34,8 +34,10 @@ describe('NetworkController', function () {
assert.equal(providerProxy.test, true) assert.equal(providerProxy.test, true)
}) })
}) })
describe('#getNetworkState', function () { describe('#getNetworkState', function () {
it('should return loading when new', function () { it('should return loading when new', function () {
networkController = new NetworkController()
const networkState = networkController.getNetworkState() const networkState = networkController.getNetworkState()
assert.equal(networkState, 'loading', 'network is loading') assert.equal(networkState, 'loading', 'network is loading')
}) })

Loading…
Cancel
Save