PopClip JavaScript API Reference
    Preparing search index...

    Type Alias TestFunction

    TestFunction: () => Promise<void> | void

    A function that can be used to verify the extension's functionality. The test function should throw an error if the test fails, and exit normally if it succeeds. PopClip doesn't currently call the test function but you can use it to test your extension during development.

    Type Declaration

      • (): Promise<void> | void
      • Returns Promise<void> | void