diff --git a/generators/app/templates/package.ts.json b/generators/app/templates/package.ts.json index 8609bb7..50fb75e 100644 --- a/generators/app/templates/package.ts.json +++ b/generators/app/templates/package.ts.json @@ -1,7 +1,7 @@ { "devDependencies": { "@types/node": "^7.0.22", - "typescript": "^2.3.3" + "typescript": "^4.5.4" }, "scripts": { "pretest": "tsc", diff --git a/generators/app/templates/test/test_binding.js b/generators/app/templates/test/test_binding.js index 7438c89..35dc67a 100644 --- a/generators/app/templates/test/test_binding.js +++ b/generators/app/templates/test/test_binding.js @@ -9,6 +9,6 @@ function testBasic() assert.strictEqual(result, "world", "Unexpected value returned"); } -assert.doesNotThrow(testBasic, undefined, "testBasic threw an expection"); +assert.doesNotThrow(testBasic, undefined, "testBasic threw an exception"); console.log("Tests passed- everything looks OK!"); \ No newline at end of file diff --git a/generators/app/templates/test/test_binding_intermediate.js b/generators/app/templates/test/test_binding_intermediate.js index 6b49df8..07d706b 100644 --- a/generators/app/templates/test/test_binding_intermediate.js +++ b/generators/app/templates/test/test_binding_intermediate.js @@ -15,7 +15,7 @@ function testInvalidParams() const instance = new <%= moduleClassName %>(); } -assert.doesNotThrow(testBasic, undefined, "testBasic threw an expection"); +assert.doesNotThrow(testBasic, undefined, "testBasic threw an exception"); assert.throws(testInvalidParams, undefined, "testInvalidParams didn't throw"); console.log("Tests passed- everything looks OK!"); \ No newline at end of file