Skip to content

Commit

Permalink
Replace test tool. tape => jest
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 16, 2018
1 parent 75400fa commit 0c10a60
Show file tree
Hide file tree
Showing 7 changed files with 4,017 additions and 16,320 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ cookie() // Get all cookie
cookie.set('test', 'tank', 1) // ====cookie('test', 'tank', 1)
cookie.get('test') // ====cookie('test')
cookie.remove('test') // ====cookie('test',null)
cookie.remove('test3', 'test4') // Delete cookie `test3` and `test4`

cookie.clear() // Clean all cookie
cookie.all() // Get all cookie
Expand Down
5,029 changes: 0 additions & 5,029 deletions package-lock.json

This file was deleted.

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"url": "https://github.com/jaywcjlove/cookie.js/issues"
},
"scripts": {
"test": "npm run build && npm run build:test",
"build:test": "browserify test/cookie.js > test/cookie.test.js",
"test": "jest",
"build": "node script/build.js",
"watch": "node script/watch.js"
},
Expand All @@ -32,17 +31,13 @@
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"bannerjs": "^1.0.5",
"browserify": "^16.2.2",
"colors-cli": "^1.0.18",
"onchange": "^4.1.0",
"jest": "23.6.0",
"rollup": "^0.66.1",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0",
"ssr": "^1.1.1",
"tape": "^4.9.1",
"tape-chai": "^1.1.0",
"tape-dom": "0.0.12",
"uglify-js": "^3.4.9",
"zlib": "^1.0.5"
}
Expand Down
52 changes: 0 additions & 52 deletions test/cookie.js

This file was deleted.

Loading

0 comments on commit 0c10a60

Please sign in to comment.