1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Rename the network controller module (#16974)

The network controller module has been renamed from `network.js` to
`network-controller.js`. All of our newer controllers have "controller"
in the module names, so this aligns better with that convention. It
also brings the test module name into alignment (it's already called
"network-controller.test.js").
This commit is contained in:
Mark Stacey 2022-12-16 16:37:06 -03:30 committed by GitHub
parent ebcccdfc5e
commit 3e98758719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
export { default, NETWORK_EVENTS } from './network';
export { default, NETWORK_EVENTS } from './network-controller';

View File

@ -1,6 +1,6 @@
import sinon from 'sinon';
import { getNetworkDisplayName } from './util';
import NetworkController, { NETWORK_EVENTS } from './network';
import NetworkController, { NETWORK_EVENTS } from './network-controller';
describe('NetworkController', () => {
describe('controller', () => {