foundry-offline-ts-test
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

foundry-offline-ts-test

This package is a helper to run Palantir Foundry Typescript Repository tests in a local environment.

How to use it

Install the package in the root of the project:

npm i --no-save foundry-offline-ts-test

Command line usage

To run all tests run (in your project folder):

npx foundry-test

To run a specific test file

npx foundry-test --runTestsByPath path/to/test/file

In general, you can pass all normal jest options.

Use with IntelliJ (or derivatives)

To make test work in IntelliJ, you have to edit the test configuration, in particular the "Jest Package" option, which should be set to the path of the foundry-offline-ts-test module. This can be found in the node_modules folder where you installed the package.

IntelliJ Test Configuration Dialog

The other configuration options are not important, only "Working Directory" needs to be somewhere within the project.

Readme

Keywords

none

Package Sidebar

Install

npm i foundry-offline-ts-test

Weekly Downloads

57

Version

0.4.2

License

MIT

Unpacked Size

41.7 kB

Total Files

13

Last publish

Collaborators

  • frapa