From 214d81553fb3a7dfd138085e5c42f170a0de33dd Mon Sep 17 00:00:00 2001 From: Phillip Verheyden Date: Fri, 9 Oct 2020 20:15:14 -0600 Subject: [PATCH] Fix typos in Javascript test clients (#7642) Looks like this did not get propagated to these other JS clients from the original at 90859575ebfea800dde93a498e1439011963d6cf --- .../src/main/resources/Javascript-Apollo/model_test.mustache | 2 +- .../src/main/resources/Javascript/es6/model_test.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/Javascript-Apollo/model_test.mustache b/modules/openapi-generator/src/main/resources/Javascript-Apollo/model_test.mustache index 9c80d3291b57..fb89dd977030 100644 --- a/modules/openapi-generator/src/main/resources/Javascript-Apollo/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/Javascript-Apollo/model_test.mustache @@ -44,7 +44,7 @@ describe('{{classname}}', function() { it('should create an instance of {{classname}}', function() { // uncomment below and update the code to test {{classname}} - //var instane = new {{moduleName}}.{{classname}}(); + //var instance = new {{moduleName}}.{{classname}}(); //expect(instance).to.be.a({{moduleName}}.{{classname}}); }); diff --git a/modules/openapi-generator/src/main/resources/Javascript/es6/model_test.mustache b/modules/openapi-generator/src/main/resources/Javascript/es6/model_test.mustache index 9c80d3291b57..8769cfeb8708 100644 --- a/modules/openapi-generator/src/main/resources/Javascript/es6/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/Javascript/es6/model_test.mustache @@ -53,7 +53,7 @@ {{#vars}} it('should have the property {{name}} (base name: "{{baseName}}")', function() { // uncomment below and update the code to test the property {{name}} - //var instane = new {{moduleName}}.{{classname}}(); + //var instance = new {{moduleName}}.{{classname}}(); //expect(instance).to.be(); });