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.

Revisions

  1. lorenzofox3 revised this gist Sep 28, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion test.ts
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    export default t => {
    import {Assert} from 'zora'

    export default (t: Assert) => {
    t.test(`some test`, (t) => {
    t.ok(true, 'woot woot');
    })
  2. lorenzofox3 created this gist Sep 28, 2020.
    16 changes: 16 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    {
    "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"
    }
    }
    5 changes: 5 additions & 0 deletions test.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    export default t => {
    t.test(`some test`, (t) => {
    t.ok(true, 'woot woot');
    })
    }