Skip to content

Commit e032deb

Browse files
committed
unit tests init and readme
1 parent 34903eb commit e032deb

7 files changed

Lines changed: 4367 additions & 668 deletions

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,21 @@ node like `fs` API for the browser that uses indexedDB/ fs access browser APIs f
66

77
To build it:
88

9-
```
9+
```bash
1010
npm install
1111
npm run build
1212
```
1313

14+
To Test:
15+
While developing, use test or testDist script to open browser tests.
16+
* test runs tests against the src folder and
17+
* testDist runs tests against the release build
18+
```bash
19+
npm run test
20+
npm run testDist
21+
```
22+
23+
1424
The js library will be built in `dist/nohost-sw.js`.
1525
NOTE: you can also use `npm run dev` to also start a web server for development.
1626

dist/fslib.js

Lines changed: 2357 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fslib.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)