File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11extends : cheminfo
22env :
3- jest : true
43 node : true
54parserOptions :
65 sourceType : module
Original file line number Diff line number Diff line change 99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v6
1313 - name : Build documentation
1414 uses : zakodium/documentationjs-action@v1
1515 - name : Deploy to GitHub pages
Original file line number Diff line number Diff line change 1717 "prettier" : " prettier --check src" ,
1818 "prettier-write" : " prettier --write src" ,
1919 "test" : " npm run test-only && npm run eslint && npm run prettier" ,
20- "test-only" : " jest --coverage"
20+ "test-only" : " vitest run --coverage"
2121 },
2222 "repository" : {
2323 "type" : " git" ,
3131 },
3232 "homepage" : " https://github.com/mljs/baseline-correction-regression#readme" ,
3333 "devDependencies" : {
34- "@babel/plugin-transform-modules-commonjs" : " ^7.24.1 " ,
35- "@types/jest " : " ^29.5.12 " ,
34+ "@babel/plugin-transform-modules-commonjs" : " ^7.28.6 " ,
35+ "@vitest/coverage-v8 " : " ^4.1.5 " ,
3636 "eslint" : " ^8.56.0" ,
3737 "eslint-config-cheminfo" : " ^9.2.0" ,
38- "jest " : " ^29.7.0 " ,
39- "prettier " : " ^3.2.5 " ,
40- "rollup " : " ^4.17.2 "
38+ "prettier " : " ^3.8.3 " ,
39+ "rollup " : " ^4.60.2 " ,
40+ "vitest " : " ^4.1.5 "
4141 },
4242 "dependencies" : {
43- "ml-regression-polynomial" : " ^3 .0.1 "
43+ "ml-regression-polynomial" : " ^4 .0.0 "
4444 }
4545}
Original file line number Diff line number Diff line change 1+ import { describe , expect , it } from 'vitest' ;
2+
13import { baselineCorrectionRegression } from '..' ;
24
35// https://en.wikipedia.org/wiki/Cauchy_distribution
You can’t perform that action at this time.
0 commit comments