Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar Cruzado committed May 15, 2018
1 parent 47b3dcc commit a233a6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/client/bst-virtual-alexa-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ describe("BSTVirtualAlexa", async function() {
process.chdir("../..");
});

it("Start with defaults and non english model", function () {
process.chdir("test/resources/nonUSModel");
const speak = new BSTVirtualAlexa("http://localhost:9000");
speak.start(true);
assert(true, "Start processed without exceptions");
process.chdir("../../..");
});

it("Use provided models even when default is present in folder", function () {
process.chdir("test/resources/allSpeechModels");
const speak = new BSTVirtualAlexa("http://localhost:9000",
Expand Down

0 comments on commit a233a6d

Please sign in to comment.