Skip to content

Commit

Permalink
Ensure scripts reference new names. Scaffold.Test -> Test.Scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
jy14898 committed Sep 23, 2022
1 parent 37b455e commit 39fc516
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -11,9 +11,9 @@
},
"scripts": {
"test": "npm run unit-test && npm run integration-test && npm run plutip-test",
"integration-test": "spago run --main Test.Integration",
"unit-test": "spago run --main Ctl.Test.Unit",
"plutip-test": "spago run --main Test.Plutip",
"integration-test": "spago run --main Test.Ctl.Integration",
"unit-test": "spago run --main Test.Ctl.Unit",
"plutip-test": "spago run --main Test.Ctl.Plutip",
"e2e-test": "./test/ctl-e2e-test.sh run",
"e2e-test-debug": "./test/ctl-e2e-test.sh run --no-headless",
"e2e-browser": "./test/ctl-e2e-test.sh browser",
Expand Down
2 changes: 1 addition & 1 deletion templates/ctl-scaffold/package.json
Expand Up @@ -7,7 +7,7 @@
"test": "test"
},
"scripts": {
"test": "spago run --main Scaffold.Test.Main",
"test": "spago run --main Test.Scaffold.Main",
"dev": "make run-dev",
"build": "make run-build"
},
Expand Down
2 changes: 1 addition & 1 deletion templates/ctl-scaffold/test/Main.purs
@@ -1,4 +1,4 @@
module Scaffold.Test.Main (main) where
module Test.Scaffold.Main (main) where

import Contract.Prelude

Expand Down
2 changes: 1 addition & 1 deletion test/ctl-e2e-test.sh
Expand Up @@ -58,7 +58,7 @@ run_tests () {
extract_crx "$LODE_CRX" "$temp_dir"/lode
extract_crx "$ETERNL_CRX" "$temp_dir"/eternl
rm -f "$CHROME_PROFILE"/SingletonLock
spago test --main Test.E2E -a "E2ETest \
spago test --main Test.Ctl.E2E -a "E2ETest \
--eternl-dir $temp_dir/eternl \
--eternl-password $ETERNL_PASSWORD \
--lode-dir $temp_dir/lode \
Expand Down

0 comments on commit 39fc516

Please sign in to comment.