Skip to content

Commit

Permalink
feat(runner): Convert test runner from BrightScript to TS (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkipke committed Feb 19, 2021
1 parent 5141aea commit 298b218
Show file tree
Hide file tree
Showing 8 changed files with 278 additions and 194 deletions.
41 changes: 25 additions & 16 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/long": "^4.0.1",
"@types/memory-fs": "^0.3.2",
"@types/xmldoc": "^1.1.5",
"brs": "^0.41.0",
"brs": "^0.42.0",
"doctoc": "^1.4.0",
"husky": "^4.2.5",
"jest": "^26.3.0",
Expand All @@ -62,7 +62,7 @@
"typescript": "^3.9.7"
},
"peerDependencies": {
"brs": "^0.41.0"
"brs": "^0.42.0"
},
"lint-staged": {
"README.md": "doctoc",
Expand Down
104 changes: 0 additions & 104 deletions resources/roca_main.brs

This file was deleted.

7 changes: 7 additions & 0 deletions resources/tap.brs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
' intended to be consumed by any known TAP stream consumer for further prettification.
'
' Adapted in part from https://github.com/mochajs/mocha/blob/5f8df0848aa52bb0f7a0844bcd3715012a6ecfd6/lib/reporters/tap.js
function main(numSuites)
tapInstance = tap()
tapInstance.version()
tapInstance.plan(numSuites)
return tapInstance
end function

function Tap() as object
return {
version: __tap_version,
Expand Down
Loading

0 comments on commit 298b218

Please sign in to comment.