Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up mo-test #1

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Set up mo-test #1

merged 3 commits into from
Apr 19, 2023

Conversation

rvanasa
Copy link
Contributor

@rvanasa rvanasa commented Apr 19, 2023

This PR configures mo-test (CI runner) and mo-dev --test (file watcher) via npm scripts.

Here is an alternate way to configure the Motoko package sources using the project's local MOPS installation:

dfx.json:

{
  "defaults": {
    "build": {
      "packtool": "npm run --silent sources"
    }
  }
}

package.json:

{
  "scripts": {
    "sources": "mops sources"
  }
}

@krpeacock krpeacock merged commit ec4ae7c into krpeacock:adding-tests Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants