Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vduricu committed May 26, 2018
1 parent dcfe0ef commit ff53be8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/PEngine.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ describe("PEngine class check", () => {
expect(pobj.version.version).to.equal(packageJson.version);
});

it("version should not be overrideable", () => {
it("version should be overrideable", () => {
const pobj = new PEngine();

expect(() => (pobj.version = "test")).to.throw();
expect(() => (pobj.version = "test")).to.not.throw();
expect(pobj.version.className).to.equal("PVersion");
expect(pobj.version.version).to.equal(packageJson.version);
});
Expand Down
1 change: 1 addition & 0 deletions test/puzzle/ServerBootstrap.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ describe("ServerBootstrap class check", () => {
"[INFO] Application started",
`[INFO] ${"-".repeat(30)}`,
`[INFO] Puzzle Framework Version: ${puzzle.app.version}`,
`[INFO] Framework type: Lite`,
`[INFO] Environment: ${puzzle.env}`,
"[INFO] Logging level: test",
`[INFO] ${"-".repeat(30)}`
Expand Down

0 comments on commit ff53be8

Please sign in to comment.