Skip to content

Commit 6715811

Browse files
committed
Run formatting over *.md files to prevent conflicts
1 parent 6bdbdae commit 6715811

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
44
Please refer to its documentation:
55

6-
* [Getting Started](https://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
7-
* [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
6+
- [Getting Started](https://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
7+
- [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.

fixtures/kitchensink/README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Each time a new feature is added, it is advised to add at least one test coverin
1818

1919
Features are categorized by their scope:
2020

21-
- *env*, all those which deal with environment variables (e.g. `NODE_PATH`)
22-
23-
- *syntax*, all those which showcase a single EcmaScript syntax feature that is expected to be transpiled by **Babel**
21+
- _env_, all those which deal with environment variables (e.g. `NODE_PATH`)
2422

25-
- *webpack*, all those which make use of webpack settings, loaders or plugins
23+
- _syntax_, all those which showcase a single EcmaScript syntax feature that is expected to be transpiled by **Babel**
24+
25+
- _webpack_, all those which make use of webpack settings, loaders or plugins
2626

2727
### Using it as Unit Tests
2828

@@ -41,13 +41,12 @@ Test are written in `integration/{env|syntax|webpack}.test.js`, depending on the
4141

4242
For every test case added there is just a little chore to do:
4343

44-
- a `case` statement must be added in `src/App.js`, which simply perform a dynamic `import()` of the feature
44+
- a `case` statement must be added in `src/App.js`, which simply perform a dynamic `import()` of the feature
45+
46+
- add a test case in the appropriate integration test file, which calls and awaits `initDOM` with the previous `SwitchCase` string
4547

46-
- add a test case in the appropriate integration test file, which calls and awaits `initDOM` with the previous `SwitchCase` string
47-
4848
An usual flow for the test itself is something similar to:
49-
50-
- add an `id` attribute in a target HTML tag in the feature itself
5149

52-
- since `initDOM` returns a `Document` element, the previous `id` attribute is used to target the feature's DOM and `expect` accordingly
50+
- add an `id` attribute in a target HTML tag in the feature itself
5351

52+
- since `initDOM` returns a `Document` element, the previous `id` attribute is used to target the feature's DOM and `expect` accordingly

0 commit comments

Comments
 (0)