diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.learn b/.learn old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/LICENSE.md b/LICENSE.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/index.js b/index.js old mode 100644 new mode 100755 index e69de29b..ff633cb2 --- a/index.js +++ b/index.js @@ -0,0 +1,3 @@ +console.error("halp!") +console.log("Fiery!") +console.warn("Poopie") diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/test/index-test.js b/test/index-test.js old mode 100644 new mode 100755 index 38ef5b97..b5e8d666 --- a/test/index-test.js +++ b/test/index-test.js @@ -3,12 +3,11 @@ const fs = require('fs') const jsdom = require('jsdom') const path = require('path') - describe('index', () => { const html = '
' const src = path.resolve(__dirname, '..', 'index.js') - it('calls console.error()', done => { + it('calls console.error("Halp!")', done => { const spy = expect.spyOn(console, 'error').andCallThrough() jsdom.env(html, [src], {