From ba07f203f221497b5c1f89a42e643b3053e3a3f5 Mon Sep 17 00:00:00 2001
From: Dan Jones <dan.jones@noc.ac.uk>
Date: Wed, 18 Jan 2023 10:27:14 +0000
Subject: [PATCH] test: move axios to dev dependencies

In nuxt having axios instead of @nuxtjs/axios is
causing import problems.
If this fixes it there might be a better solution.
---
 package.json | 2 +-
 yarn.lock    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package.json b/package.json
index e48afd3..099b4c7 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,6 @@
     "*.**": "prettier --check --ignore-unknown"
   },
   "dependencies": {
-    "axios": "^1.2.2",
     "faye-websocket": "^0.11.4",
     "swagger-model-validator": "^3.0.21"
   },
@@ -43,6 +42,7 @@
     "@commitlint/config-conventional": "^15.0.0",
     "@cucumber/cucumber": "^8.10.0",
     "@rollup/plugin-babel": "^6.0.3",
+    "axios": "^1.2.3",
     "axios-mock-adapter": "^1.21.2",
     "babel-jest": "^27.4.4",
     "cross-env": "^7.0.3",
diff --git a/yarn.lock b/yarn.lock
index 1d0dd63..b9e2d7d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1226,10 +1226,10 @@ axios-mock-adapter@^1.21.2:
     fast-deep-equal "^3.1.3"
     is-buffer "^2.0.5"
 
-axios@^1.2.2:
-  version "1.2.2"
-  resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.2.tgz#72681724c6e6a43a9fea860fc558127dbe32f9f1"
-  integrity sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==
+axios@^1.2.3:
+  version "1.2.3"
+  resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.3.tgz#31a3d824c0ebf754a004b585e5f04a5f87e6c4ff"
+  integrity sha512-pdDkMYJeuXLZ6Xj/Q5J3Phpe+jbGdsSzlQaFVkMQzRUL05+6+tetX8TV3p4HrU4kzuO9bt+io/yGQxuyxA/xcw==
   dependencies:
     follow-redirects "^1.15.0"
     form-data "^4.0.0"
-- 
GitLab