Skip to content

Commit 8ea0657

Browse files
committed
docs: demo test information
1 parent c638ca5 commit 8ea0657

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

demo/browser/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
# Native browser
3+
4+
The package illustrates the native integration of the CSV packages in a browser environnment.
5+
6+
## Testing
7+
8+
There are no test for this package. The only way is to start the server and navigate the pages. We could use headless browser tests.

demo/cjs/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

22
# Node.js CSV demo for CommonJS
33

4-
The package exposes a few JavaScript and TypeScript examples to import the CSV parser using the CommonJS module loader.
4+
The package illustrates the usage of CommonJS modules inside a Node.js environment. It uses JavaScript and TypeScript.
55

66
## Testing
77

8+
The test suite execute each sample present in the `./lib` folder.
9+
810
For Node.js 12 and above, run `yarn test`. For versions below 12 and above 8, run `./test/node8.sh`.

demo/esm/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
# ESM demo
3+
4+
The package illustrates the usage of ESM inside a Node.js environment. It uses JavaScript and TypeScript.
5+
6+
## Testing
7+
8+
The test suite execute each sample present in the `./lib` folder.

demo/webpack/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ npx http-server ./dist -p 8080
3737
```
3838

3939
The web application is now accessible on [`https://localhost:8080`](https://localhost:8080).
40+
41+
## Testing
42+
43+
The test suite consists in building the code with webpack. We don't check if the code is working.

0 commit comments

Comments
 (0)