Skip to content

Instantly share code, notes, and snippets.

@lorenzofox3
Last active September 28, 2020 09:23
Show Gist options
  • Save lorenzofox3/c6ea44dbf9f33c6c9dd7922a2f083d9b to your computer and use it in GitHub Desktop.
Save lorenzofox3/c6ea44dbf9f33c6c9dd7922a2f083d9b to your computer and use it in GitHub Desktop.
typescript example with ptatypescript example with pta
{
"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"
}
}
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