1 | should = require "should"
|
2 |
|
3 | HGAPI = require "../lib"
|
4 |
|
5 | describe "HGAPI", ->
|
6 |
|
7 | it "exposes core classes", ->
|
8 |
|
9 | should.exist HGAPI.HGCommandServer, "command server"
|
10 | should.exist HGAPI.HGRepo, "repo"
|
11 |
|
12 | describe "makeParser", ->
|
13 |
|
14 | it "provides a parser instance for this hg version", (done) ->
|
15 | HGAPI.makeParser (err, parser) ->
|
16 | parser.should.have.property.status
|
17 | done() |
\ | No newline at end of file |