Skip to content

Commit

Permalink
start adding unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jooyoungseo committed Nov 2, 2023
1 parent 4ec9409 commit d1c87a1
Show file tree
Hide file tree
Showing 4 changed files with 2,851 additions and 25 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "webpack.config.js",
"scripts": {
"build": "gulp",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest",
"lint": "eslint .",
"format": "prettier --write .",
"docs": "jsdoc -c jsdoc.json"
Expand All @@ -16,7 +16,7 @@
},
"keywords": [],
"author": "JooYoung Seo",
"license": "ISC",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/uiuc-ischool-accessible-computing-lab/maidr/issues"
},
Expand All @@ -31,12 +31,17 @@
"gulp-concat-css": "^3.1.0",
"gulp-rename": "^2.0.0",
"gulp-terser": "^2.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.2",
"prettier": "^2.8.8"
},
"dependencies": {
"mi": "^1.0.0",
"minami": "^1.2.3",
"taffydb": "^2.7.3"
},
"jest": {
"testEnvironment": "jsdom"
}
}
49 changes: 49 additions & 0 deletions src/js/__tests__/audio.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1c87a1

Please sign in to comment.