Skip to content

Commit

Permalink
Setup TS testing infrastructure (#4659)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jan 29, 2023
1 parent 2da5d57 commit 7309443
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -104,6 +104,7 @@
"@types/express": "^4.17.14",
"@types/fs-extra": "^9.0.13",
"@types/jquery": "^3.5.10",
"@types/mocha": "^8.2.2",
"@types/qs": "^6.9.7",
"@types/shell-quote": "^1.7.1",
"@types/tar-fs": "^2.0.1",
Expand Down Expand Up @@ -172,7 +173,7 @@
"lint": "eslint . --fix",
"lint-check": "eslint .",
"lint-files": "eslint",
"test": "mocha -b",
"test": "mocha -b -r ts-node/register 'test/**/*.ts' 'test/**/*.js'",
"test-min": "mocha -b --config .mocharc-min.yml",
"fix": "npm run lint && npm run format && npm run ts-check",
"check": "npm run ts-check && npm run lint-check && npm run test-min -- --reporter min",
Expand Down
1 change: 0 additions & 1 deletion test/ansi-to-html-tests.js → test/ansi-to-html-tests.ts
Expand Up @@ -22,7 +22,6 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

// TODO(supergrecko): Re-enable these once TS test infrastructure is up
import {Filter} from '../static/ansi-to-html';

describe('ansi-to-html', () => {
Expand Down

0 comments on commit 7309443

Please sign in to comment.