From 6a2ba0e615e0323eb7249b456bba680c8d1c4f53 Mon Sep 17 00:00:00 2001
From: Shinya Sugmoto <34866626+gasugesu@users.noreply.github.com>
Date: Thu, 17 Dec 2020 19:38:19 +0900
Subject: [PATCH] test: enable typescript-axios integration test (#8163)
* test: enable typescript-axios integration test
* chore: update old dep & devDep
* refactor: use axios installed in test target
* chore(travisCI): update node version from v8.12.0 to v12.20.0
---
.travis.yml | 2 +
pom.xml | 3 +-
.../tests/default/package-lock.json | 5328 ++++-------------
.../tests/default/package.json | 26 +-
.../tests/default/test/PetApi.ts | 2 +-
.../tests/default/test/PetApiFactory.ts | 2 +-
.../tests/default/test/StoreApi.ts | 2 +-
.../tests/default/test/StoreApiFactory.ts | 3 +-
8 files changed, 1145 insertions(+), 4223 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 246a806935e..52ad4a03ce7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,6 +68,8 @@ before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y -v
# required when sudo: required for the Ruby petstore tests
- gem install bundler
+ - nvm install 12.20.0
+ - nvm use 12.20.0
- npm install -g typescript
- npm install -g npm
- npm config set registry http://registry.npmjs.org/
diff --git a/pom.xml b/pom.xml
index 1cd2c1d04ca..ce271d634d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1221,8 +1221,7 @@
samples/client/petstore/typescript-fetch/builds/es6-target
samples/client/petstore/typescript-fetch/builds/with-npm-version
samples/client/petstore/typescript-fetch/tests/default
-
+ samples/client/petstore/typescript-axios/tests/default
samples/client/petstore/typescript-node/npm
samples/client/petstore/typescript-rxjs/builds/with-npm-version