insighter-bug
v1.12.14
Published
To run the tests, follow these detailed steps:
Downloads
1,633
Readme
Running Tests
To run the tests, follow these detailed steps:
Navigate to the Node Modules Directory: Go to
C:\Users\vincm\AppData\Roaming\npm\node_modules
and delete the reference to the library. This ensures that any previous versions of the library do not interfere with the tests.Unlink the Library from the Test Repository: In your test repository, unlink the library to remove any existing connections. This can typically be done using the following command:
npm unlink your-library-name
Link the Library Locally: Return to the directory where your library is located and run the following command to link it locally:
npm link
This command creates a symbolic link from the globally-installed library to your local project.
Link the Library to the Test Repository: Finally, link the library to your test repository by navigating to the test repository and running:
npm link your-library-name
This step ensures that your test repository uses the local version of the library for testing.
By following these steps, you can ensure that your tests run against the most current version of your library.
Linking
To run the tests, follow these steps:
Remove Existing Library Reference: Navigate to
C:\Users\vincm\AppData\Roaming\npm\node_modules
and delete any existing reference to the library to avoid conflicts.Unlink the Library: In your test repository, unlink the library using:
npm unlink your-library-name
Link the Library Locally: Go to your library's directory and run:
npm link
This creates a symbolic link from the globally-installed library to your local project.
Link the Library to the Test Repository: In your test repository, run:
npm link your-library-name
This ensures the test repository uses the local version of the library.
By following these steps, your tests will run against the latest version of your library.
Overview
This project contains action definitions, a Puppeteer builder, and a final player. The player utilizes Puppeteer, which is an optional dependency. Therefore, extensions and online websites must install this library with the --ignore-optional
flag for Yarn or the --no-optional
flag for npm.
Installation
To install the library globally, including optional dependencies, use the following commands:
For npm:
npm install -g your-library-name --no-optional
For Yarn:
yarn global add your-library-name --ignore-optional
Usage
Once the library is installed globally, you can use the insighter
command. Note that the insighter
command requires the Puppeteer dependency, so it must be installed with optional dependencies included.
insighter
Make sure to follow the installation instructions to ensure all necessary dependencies are included.