1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

Create testing framework for CLI (#453)

* Create testing framework for CLI

- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test

expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule

* Run prettier

* Add tests to build pipeline

* Include required package

* Add placeholder test

* Run prettier

* Add nodemon and fix watch
This commit is contained in:
Matt Gibson
2022-01-21 11:28:36 -05:00
committed by GitHub
parent 8b650666c5
commit 21e8db9636
8 changed files with 2173 additions and 77 deletions

View File

@@ -132,6 +132,9 @@ jobs:
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run test
- name: Build & Package
run: npm run dist