Instructions on running tests
See original GitHub issueSubject of the issue
I’ve got an idea, for a contribution I’d like to make. My first port of call was to try and run the tests “out of the box”.
A fresh yarn install && yarn test
outputs:
yarn run v1.5.1
$ remark . -qf && eslint . && lerna run test
/Users/jonsherrard/playground/mdx/packages/runtime/src/index.js
4:22 error Unable to resolve path to module '@mdx-js/tag' import/no-unresolved
✖ 1 problem (1 error, 0 warnings)
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c remark . -qf && eslint . && lerna run test
Directory: /Users/jonsherrard/playground/mdx
Output:
".
I’ve tried a few combinitions of lernna link
in various packages, to no avail.
Your environment
- Name and version of operating system MacOS 10.14 (Mojave)
- Names and version of required packages
Fresh
git clone
only - Version of node, npm, yarn, or names and versions of browser Node v10.13.0, NPM v6.4.1, Yarn 1.5.1
Steps to reproduce
Tell us how to reproduce this issue. Please provide a working and simplified example.
git clone git@github.com:mdx-js/mdx.git && cd mdx && yarn install && yarn test
🎉 BONUS POINTS for creating a minimal reproduction and uploading it to GitHub. This will get you the fastest support. 🎉
Expected behaviour
Tests should run and pass
Actual behaviour
yarn run v1.5.1
$ remark . -qf && eslint . && lerna run test
/Users/jonsherrard/playground/mdx/packages/runtime/src/index.js
4:22 error Unable to resolve path to module '@mdx-js/tag' import/no-unresolved
✖ 1 problem (1 error, 0 warnings)
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c remark . -qf && eslint . && lerna run test
Directory: /Users/jonsherrard/playground/mdx
Output:
".
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Instructions for running unit tests
Instructions for running unit tests · Build unit test module · Install resulting apk on device · Run all tests · Run tests...
Read more >Running tests · erlang/otp Wiki - GitHub
Just make sure to release the changes before re-running the tests. This is done by issuing make release ... Run ts:help() to show...
Read more >Running Tests — web-platform-tests documentation
The simplest way to run the tests is via the public website. More detail on that approach is available in Running tests from...
Read more >Run tests | IntelliJ IDEA Documentation - JetBrains
Place the caret at the test class to run all tests in that class, or at the test method, and press Ctrl+Shift+F10 ....
Read more >20m Multistage Fitness Test (Beep Test) Instructions
Prepare forms and record basic information such as age, height, body weight, gender, test conditions (particularly the weather and running surface). Measure and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wooorm’s solution works. (thanks!)
Thanks @wooorm, I’ll give that a go and that submit a PR for
contributing.md
andyarn run bootstrap