@tester667/wallets-testing-extensions
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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();
    }
}

Readme

Keywords

Package Sidebar

Install

npm i @tester667/wallets-testing-extensions

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

2.94 kB

Total Files

3

Last publish

Collaborators

  • taven_n