Skip to content

Commit

Permalink
tests: use built-in Node test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
wydengyre committed May 13, 2024
1 parent 9d3175b commit 0bf8424
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 988 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ format:
.PHONY: checkformat
checkformat:
clang-format -Werror --dry-run --style=google src/*.cpp
node_modules/.bin/prettier --check {examples,src,test}/**/*.js
node_modules/.bin/prettier --check {src,test}/**/*.js


.PHONY: typecheck
Expand All @@ -45,7 +45,7 @@ api-docs:

.PHONY: test
test: third_party/tessdata_fast
node_modules/.bin/mocha
node --test test/ocr-engine-test.js

.PHONY: release
release: clean lib typecheck test
Expand Down
Loading

0 comments on commit 0bf8424

Please sign in to comment.