Last active
September 28, 2020 09:23
-
-
Save lorenzofox3/c6ea44dbf9f33c6c9dd7922a2f083d9b to your computer and use it in GitHub Desktop.
typescript example with ptatypescript example with pta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "pta-ts", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "ts-node ./node_modules/.bin/pta ./test.ts" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"pta": "~0.1.3", | |
"ts-node": "~9.0.0", | |
"typescript": "~4.0.3" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Assert} from 'zora' | |
export default (t: Assert) => { | |
t.test(`some test`, (t) => { | |
t.ok(true, 'woot woot'); | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment