forked from RocketChat/Rocket.Chat
-
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.
Merge pull request RocketChat#139 from blainesch/mocha
Mocha + Travis
- Loading branch information
Showing
10 changed files
with
13 additions
and
4,141 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "node" | ||
|
||
before_script: | ||
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start |
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,14 +1,15 @@ | ||
// Named imports test | ||
import { expect } from 'chai'; | ||
import { greet, bye } from './hello_world'; | ||
|
||
describe("hello world", function () { | ||
|
||
it("greets", function () { | ||
expect(greet()).toBe('Hello World!'); | ||
expect(greet()).to.equal('Hello World!'); | ||
}); | ||
|
||
it("says goodbye", function () { | ||
expect(bye()).toBe('See ya!'); | ||
expect(bye()).to.equal('See ya!'); | ||
}); | ||
|
||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.