Skip to content

Commit

Permalink
missed sh in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 11, 2022
1 parent a82d507 commit c869e2a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,59 +66,59 @@ File names should be in the kebab-case. Name of polyfill modules should follow t
## Testing

Before testing, you should install dependencies:
```
$ npm i
```sh
npm i
```
You can run all tests by
```
$ npm run test
```sh
npm run test
```
You can run parts of the test case separately:
- Linting:
```
$ npm run lint
```sh
npm run lint
```
- Unit test case in Karma (modern Chromium, Firefox, WebKit (Playwright) and ancient WebKit (PhantomJS)):
```
$ npx run-s init bundle test-unit-karma
```sh
npx run-s init bundle test-unit-karma
```
- Unit test case in NodeJS:
```
$ npx run-s init bundle test-unit-node
```sh
npx run-s init bundle test-unit-node
```
- [Test262](https://github.com/tc39/test262) test case (it's not included to the default tests):
```
$ npx run-s init bundle-package test262
```sh
npx run-s init bundle-package test262
```
- [Promises/A+](https://github.com/promises-aplus/promises-tests) and [ES6 `Promise`](https://github.com/promises-es6/promises-es6) test cases:
```
$ npx run-s init test-promises
```sh
npx run-s init test-promises
```
- [ECMAScript `Observable` test case](https://github.com/tc39/proposal-observable):
```
$ npx run-s init test-observables
```sh
npx run-s init test-observables
```
- CommonJS entry points tests:
```
$ npx run-s init test-entries
```sh
npx run-s init test-entries
```
- `core-js-compat` tools tests:
```
$ npx run-s init test-compat-tools
```sh
npx run-s init test-compat-tools
```
- `core-js-builder` tests:
```
$ npx run-s init test-builder
```sh
npx run-s init test-builder
```
- If you want to run tests in a certain browser, at first, you should build packages and test bundles:
```
$ npx run-s init bundle
```sh
npx run-s init bundle
```
- For running the global version of the unit test case, use this file:
```
```sh
tests/unit-global/index.html
```
- For running the pure version of the unit test case, use this file:
```
```sh
tests/unit-pure/index.html
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ queueMicrotask(() => console.log('called as microtask'));

## Usage[](#index)
### Installation:[](#index)
```
```sh
// global version
npm install --save [email protected]
// version without global namespace pollution
Expand Down

0 comments on commit c869e2a

Please sign in to comment.