Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Remove TypeScript tests #154

Merged
merged 1 commit into from
May 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,19 @@
"safe-buffer": "~5.1.1"
},
"devDependencies": {
"@types/node": "^8.0.47",
"airtap": "^0.0.5",
"faucet": "^0.0.1",
"istanbul": "^0.4.2",
"istanbul-coveralls": "^1.0.3",
"rimraf": "^2.6.2",
"standard": "^11.0.0",
"tape": "^4.8.0",
"ts-node": "^4.1.0",
"typescript": "^2.6.2"
"tape": "^4.8.0"
},
"browser": {
"./immediate.js": "./immediate-browser.js"
},
"scripts": {
"test": "standard && node test.js --stderr | faucet && npm run test-ts",
"test-ts": "ts-node --no-cache test.js | faucet",
"test": "standard && node test.js --stderr | faucet",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Come to think of it, what does --stderr argument imply here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea.. Wondered that myself

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> #155

"test-browsers": "airtap --sauce-connect --loopback airtap.local --no-coverage test.js",
"test-browser-local": "airtap --no-coverage --local 9000 test.js",
"coverage": "istanbul cover -i memdown.js ./node_modules/.bin/tape ./test.js && istanbul check-coverage --lines 90 --function 80 --statements 90 --branches 80",
Expand All @@ -63,12 +59,5 @@
"immediate.js",
"immediate-browser.js",
"UPGRADING.md"
],
"greenkeeper": {
"ignore": [
"@types/node",
"ts-node",
"typescript"
]
}
]
}
4 changes: 0 additions & 4 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,6 @@ function stringBuffer (value) {
return Buffer.from(String(value))
}

/**
* We need this JSDoc to keep TypeScript happy.
* @return {object}
*/
function putKey (key) {
return { type: 'put', key: key, value: 'value' }
}
Expand Down
8 changes: 0 additions & 8 deletions tsconfig.json

This file was deleted.