Commit Graph

7 Commits

Author SHA1 Message Date
Arthur Lu
8b2ae89bd2 switch localStorage mock to mock-local-storage,
fix unit tests to work with ES6 import syntax,
remove testenv module
2022-11-11 02:39:40 +00:00
Arthur Lu
b85a73400d add another unit test to localStorage.test.js,
reflect fixes to packages.json from main
2022-11-10 22:33:47 +00:00
Arthur Lu
1718c7cedb move localStorage util to localStorage.js,
update main,js to rquire localStroage,
add simple unit tests to localStroage.test.js,
create symlink of testenv.js to source/assets/scripts,
update package.json with proper recursive call

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-10 01:35:41 +00:00
Arthur Lu
aa69ef1ab7 fix devDependencies list in package.json
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 17:53:55 +00:00
Arthur Lu
a6015aff3b implement basic linting with eslint,
fix linting errors in testenv module

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 03:09:10 +00:00
Arthur Lu
0f622d16de switch to mocha for test latency improvements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 00:00:15 +00:00
Arthur Lu
2d4f8e48c2 move package.json to root dir 2022-11-06 22:39:30 +00:00