Skip to content

Commit

Permalink
refactor(web): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ermshiperete committed Aug 27, 2024
1 parent e788bf5 commit 0d194fa
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/engine/osk/gesture-processor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ builder_run_action configure do_configure
builder_run_action clean rm -rf build/ intermediate/
builder_run_action build:module do_build_module
builder_run_action build:tools src/tools/build.sh build
builder_run_action test:module test-headless "${SUBPROJECT_NAME}"
builder_run_action test:module test-headless-typescript "${SUBPROJECT_NAME}"
builder_run_action test:tools do_test_tools
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { TouchpathTurtle } from '#gesture-tools';
// Ensures that the resources are resolved relative to this script's source, not
// to the cwd when the test runner was launched or to its built version.
const scriptFolder = path.dirname(url.fileURLToPath(import.meta.url))
.replace("build/test/auto", "src/test/auto") // Mac/Linux
.replace("build\\test\\auto", "src\\test\\auto"); // Windows
.replace("build/test", "src/test/auto") // Mac/Linux
.replace("build\\test", "src\\test\\auto"); // Windows
const SEGMENT_TEST_JSON_FOLDER = path.resolve(`${scriptFolder}/../../../../resources/json/segmentation`);

describe("GesturePath", function() {
Expand Down

0 comments on commit 0d194fa

Please sign in to comment.