Commit Graph
25 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 7392d25c42 implement linting action,
fix action naming issue

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 04:09:15 +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 22a3e9f4f4 remove git from js unit test ci action
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 02:03:50 +00:00
Arthur Lu 3043c6e157 fix locality issue in mocha unit tests,
move sample helper functions for localStorage unit testing

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 01:33:35 +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 c7c395c832 make workflow naming shorter
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-07 23:43:40 +00:00
Arthur Lu 6f915678b5 sudo all run commands
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-07 23:38:53 +00:00
Arthur Lu 1798ad1140 implement js unittest action
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-07 23:31:13 +00:00
Arthur LuandGitHub 1c7b1de7d3 Merge pull request #37 from cse110-fa22-group29/js-unit-test
Pull new JS unit tests from js-unit-test to js-unit-test-ci
2022-11-07 15:27:51 -08:00
Arthur Lu b680b83dcc switch toBe to toStrictEqual in testenv.test.js 2022-11-07 21:17:05 +00:00
Arthur Lu c95834ca31 add .gitignore 2022-11-06 22:57:42 +00:00
Arthur Lu f5b2953c33 fix testenv unit test naming 2022-11-06 22:53:14 +00:00
Arthur Lu 2d4f8e48c2 move package.json to root dir 2022-11-06 22:39:30 +00:00
Arthur Lu ec305e667d switch unit test framework to jest,
remove framework unittest,
add helper module to create unit testing environment
2022-11-06 05:46:23 +00:00
Arthur Lu d5a36a913e implement unittest.js, implement unittest.test.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-05 20:19:14 -07:00
Arthur Lu 9e1bd31c36 add module exports to unittest.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-05 17:49:41 -07:00
Arthur Lu 9a9fe0c5d7 add template for unittest abstraction layer 2022-11-05 00:36:55 -07:00
Arthur LuandGitHub c1f82fe650 Create deploy-githubpages.yml
- derive from Static HTML workflow
- change to deploy only form source folder
2022-11-02 17:04:05 -07:00
Arthur Lu cb2b947bba upload diagram for resume-builder idea 2022-10-23 22:18:03 -07:00
Arthur LuandGitHub d93598de3d Update team.md with Arthur Lu's bio 2022-10-15 14:50:57 -07:00
Arthur Lu 2e9a7b559e add signed rules for Arthur Lu
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-10-14 16:16:11 -07:00