0.4.2 • Published 2 months ago

foundry-offline-ts-test v0.4.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

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.

0.4.1

2 months ago

0.4.0

2 months ago

0.4.2

2 months ago

0.3.0

7 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago