-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>
- Loading branch information
Charlike Mike Reagent
committed
Jul 29, 2018
1 parent
a17d7f9
commit 281af7b
Showing
9 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import path from 'path'; | ||
import proc from 'process'; | ||
import test from 'asia'; | ||
import docks from '../src'; | ||
|
||
const app = docks(); | ||
|
||
test('foo bar', (t) => { | ||
const cmts = app.parse('str'); | ||
console.log(cmts.length); | ||
t.ok(true); | ||
test('todo tests', async (t) => { | ||
const filepath = path.join(proc.cwd(), 'src', 'plugins', 'render.js'); | ||
const text = await app.renderFile(filepath); | ||
// console.log(text) | ||
t.ok(text); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"foo bar":{"skip":false,"todo":false,"run":false,"isPending":false,"isRejected":false,"isFulfilled":true,"id":1,"str":"(t) => {\n const cmts = app.parse('str');\n _7cb.g.console.log(cmts.length);\n t.ok(true);\n}","title":"foo bar"}} | ||
{"todo tests":{"skip":false,"todo":false,"run":false,"isPending":false,"isRejected":false,"isFulfilled":true,"id":1,"str":"async (t) => {\n const filepath = path.join(proc.cwd(), 'src', 'plugins', 'render.js');\n const text = await app.renderFile(filepath);\n // console.log(text)\n t.ok(text);\n}","title":"todo tests"}} |