Skip to content

Commit

Permalink
fix: playground e2e tests (#3643)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang authored Mar 6, 2024
1 parent 8784ddc commit 5e54ad8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/assets/playground_backend/mops.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[dependencies]
base = "0.9.1"
base = "0.10.4"
splay = "0.1.0"

[toolchain]
moc = "0.10.4"
3 changes: 3 additions & 0 deletions e2e/tests-dfx/playground.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ setup_playground() {
dfx_new hello
create_networks_json
install_asset playground_backend
touch "$HOME/.bashrc" # required by following mops command
mops toolchain init # install the pinned moc version defined in mops.toml
export DFX_MOC_PATH=moc-wrapper # use the moc-wrapper installed by mops
dfx_start
dfx deploy backend
dfx ledger fabricate-cycles --t 9999999 --canister backend
Expand Down

0 comments on commit 5e54ad8

Please sign in to comment.