Skip to content

Commit

Permalink
Add framework for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaine Schmeisser committed Aug 2, 2016
1 parent 2f94b49 commit 57a41e5
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules
4 changes: 4 additions & 0 deletions .travis.yml
@@ -0,0 +1,4 @@
language: node_js

node_js:
- 6
25 changes: 25 additions & 0 deletions package.json
@@ -0,0 +1,25 @@
{
"name": "zazu-fallback",
"version": "1.0.0",
"description": "Common fallback searches for Zazu.",
"main": "mega.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "node test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/blainesch/zazu-fallback.git"
},
"author": "Blaine Schmeisser",
"license": "MIT",
"bugs": {
"url": "https://github.com/blainesch/zazu-fallback/issues"
},
"homepage": "https://github.com/blainesch/zazu-fallback#readme",
"devDependencies": {
"tape": "^4.6.0"
}
}
6 changes: 6 additions & 0 deletions test/index.js
@@ -0,0 +1,6 @@
const describe = require('tape')

describe('Sorts app name higher', function (assert) {
assert.plan(1)
assert.deepEqual(['One'], ['Terminal', 'Docker Quickstart Terminal'])
})

0 comments on commit 57a41e5

Please sign in to comment.