Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed 2 non-useful examples.

  • Loading branch information...
commit 5851c1f62f3985c0c95a639afc8f6f9965bdd62b 1 parent 0fb8f0f
@airportyh authored
View
3  examples/mocha_coffee_1/src/hello.coffee
@@ -1,3 +0,0 @@
-hello = (name) -> "hello #{name || 'world'}"
-
-module.exports = hello
View
9 examples/mocha_coffee_1/test/hello_tests.coffee
@@ -1,9 +0,0 @@
-expect = require('chai').expect
-hello = require '../src/hello'
-
-describe 'hello', ->
- it 'says hello', ->
- expect(hello()).to.equal 'hello world'
-
- it 'says hello to person', ->
- expect(hello('bob')).to.equal 'hello bob'
View
14 examples/mocha_coffee_1/testem.yml
@@ -1,14 +0,0 @@
-framework: mocha
-before_tests: coffee -c src test
-on_exit: rm src/*.js test/*.js
-src_files:
-- src/*.coffee
-- test/*.coffee
-launchers:
- Mocha:
- command: mocha -r coffee-script -R tap test/*.coffee
- protocol: tap
-launch_in_dev:
- - Mocha
-launch_in_ci:
- - Mocha
View
4 examples/mocha_coffee_2/src/hello.coffee
@@ -1,4 +0,0 @@
-hello = (name) ->
- "hello #{name || 'world'}"
-
-module.exports = hello
View
9 examples/mocha_coffee_2/test/hello_tests.coffee
@@ -1,9 +0,0 @@
-expect = require('chai').expect
-hello = require '../src/hello'
-
-describe 'hello', ->
- it 'says hello', ->
- expect(hello()).to.equal 'hello world'
-
- it 'says hello to person', ->
- expect(hello('bob')).to.equal 'hello bob'
View
14 examples/mocha_coffee_2/testem.yml
@@ -1,14 +0,0 @@
-framework: mocha
-before_tests: coffee -c src test
-on_exit: rm src/*.js test/*.js
-src_files:
-- src/*.coffee
-- test/*.coffee
-launchers:
- Mocha:
- command: mocha --compilers coffee:coffee-script -R tap test/*.coffee
- protocol: tap
-launch_in_dev:
- - Mocha
-launch_in_ci:
- - Mocha
Please sign in to comment.
Something went wrong with that request. Please try again.