@lidofinance/wallets-testing-extensions
v1.0.3
Published
Download extensions from chrome store
Downloads
295
Readme
Extensions Module
Download extensions from chrome store
Install
yarn add @lidofinance/wallets-testing-extensions
Usage
import {ExtensionService, ExtensionsModule} from "@lidofinance/wallets-testing-extensions";
@Module({
imports: [ExtensionsModule],
})
export class MyModule {
}
// Usage
export class MyService {
constructor(private extensionService: ExtensionService) {
}
async myMethod() {
const extensionDir = await extensionService.getExtensionDirFromId(
'nkbihfbeogaeaoehlefnkodbefgpgknn',
);
expect(extensionDir).toBeDefined();
}
}