Skip to content

Commit

Permalink
Travis CI now implemented. Passes all current tests. Will need more D…
Browse files Browse the repository at this point in the history
…DD and further refactoring
  • Loading branch information
Dnaganog committed Aug 11, 2019
2 parents de09a68 + acf2744 commit ec94092
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- "11"
2 changes: 1 addition & 1 deletion __tests__/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe("Server tests for health check", () => {

it("Has a health check Service.", () => {});

it("getStatus method returns the full status map if not passed params");
it("getStatus method returns the full status map if not passed params", () => {});

it("getStatus method returns null if passed wrong params", () => {});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe("Server unary decorator tests.", () => {
});

describe("Tests for metadata passing", () => {
it("Passes send message into the send callback as the second parameter.", () => {
xit("Passes send message into the send callback as the second parameter.", () => {
const fakeMetadata = { message: "hello" };
object.set(fakeMetadata);
object.send({ fakemessage: "fakemessage" });
Expand Down
2 changes: 2 additions & 0 deletions examples/firecomm/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const firstChat = {
stub.unaryChat({ hello: "metadata" })
.send({firstChat})
.on(data => console.log(data))
.on('metadata', data => console.log(data))
.on('status', data => console.log(data))
.catch(err => console.error(err))

// const testClientStream = () => {
Expand Down

0 comments on commit ec94092

Please sign in to comment.