mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
26db0aee46
In order to be able to better compare differences between the version of NetworkController in this repo and the version in the `core` repo before we replace this version with the `core` version, this commit converts the NetworkController network client tests to TypeScript. The added types here are copied from the `core` repo. We plan on making more improvements on the `core` side at some point to polish the tests and types and reduce some of the duplication, but for now we're just trying to keep things as similar as possible.
8 lines
280 B
TypeScript
8 lines
280 B
TypeScript
import { NetworkClientType } from './create-network-client';
|
|
import { testsForProviderType } from './provider-api-tests/shared-tests';
|
|
|
|
describe('createNetworkClient', () => {
|
|
testsForProviderType(NetworkClientType.Infura);
|
|
testsForProviderType(NetworkClientType.Custom);
|
|
});
|