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

1.0.0 • Public • Published

Extensions Module

Download extensions from chrome store

Install

yarn add @tester513/wallets-testing-extensions

Usage

import {ExtensionService, ExtensionsModule} from "@tester513/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();123
    }
}

Readme

Keywords

Package Sidebar

Install

npm i @tester513/wallets-testing-extensions

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

104 kB

Total Files

22

Last publish

Collaborators

  • taven_n