From 591c20a14af6785017daad2ef258c932853562e2 Mon Sep 17 00:00:00 2001 From: FantasticFiasco Date: Fri, 3 Jan 2025 13:22:40 +0100 Subject: [PATCH] wip --- packages/axis-configuration/jest.config.js | 2 +- .../test/parameters/{Parameters.spec.ts => Parameters.test.ts} | 0 ...etParametersRequest.spec.ts => GetParametersRequest.test.ts} | 0 ...ParametersResponse.spec.ts => GetParametersResponse.test.ts} | 0 ...arametersRequest.spec.ts => UpdateParametersRequest.test.ts} | 0 ...ametersResponse.spec.ts => UpdateParametersResponse.test.ts} | 0 .../test/user-accounts/{User.spec.ts => User.test.ts} | 0 .../{UserAccounts.spec.ts => UserAccounts.test.ts} | 0 .../{AddUserRequest.spec.ts => AddUserRequest.test.ts} | 0 .../{GetUsersRequest.spec.ts => GetUsersRequest.test.ts} | 0 .../{GetUsersResponse.spec.ts => GetUsersResponse.test.ts} | 0 .../{RemoveUserRequest.spec.ts => RemoveUserRequest.test.ts} | 0 .../{UpdateUserRequest.spec.ts => UpdateUserRequest.test.ts} | 0 packages/axis-core/jest.config.js | 2 +- .../axis-core/test/{Connection.spec.ts => Connection.test.ts} | 0 .../test/{DeviceRequest.spec.ts => DeviceRequest.test.ts} | 0 packages/axis-core/test/auth/{basic.spec.ts => basic.test.ts} | 0 .../test/auth/{challenge.spec.ts => challenge.test.ts} | 0 packages/axis-core/test/auth/{digest.spec.ts => digest.test.ts} | 0 packages/axis-discovery-bonjour/jest.config.js | 2 +- .../test/{Discovery.spec.ts => Discovery.test.ts} | 0 .../test/{Mappings.spec.ts => Mappings.test.ts} | 0 .../test/{NetworkInterface.spec.ts => NetworkInterface.test.ts} | 0 packages/axis-discovery-ssdp/jest.config.js | 2 +- .../test/{Discovery.spec.ts => Discovery.test.ts} | 0 .../{NetworkInterface.spec.ts => NetworkInterface.test.ts} | 0 .../root-descriptions/{Mappings.spec.ts => Mappings.test.ts} | 0 .../{RootDescription.spec.ts => RootDescription.test.ts} | 0 .../test/sockets/{Mappings.spec.ts => Mappings.test.ts} | 0 .../test/sockets/{Message.spec.ts => Message.test.ts} | 0 packages/axis-discovery/jest.config.js | 2 +- .../test/{Discovery.spec.ts => Discovery.test.ts} | 0 .../test/caches/{DeviceCache.spec.ts => DeviceCache.test.ts} | 0 packages/axis-maintenance/jest.config.js | 2 +- ...toryDefaultRequest.spec.ts => FactoryDefaultRequest.test.ts} | 0 ...ryDefaultResponse.spec.ts => FactoryDefaultResponse.test.ts} | 0 .../restart/{RestartRequest.spec.ts => RestartRequest.test.ts} | 0 .../{RestartResponse.spec.ts => RestartResponse.test.ts} | 0 packages/axis-snapshot/jest.config.js | 2 +- .../test/{Connection.spec.ts => Connection.test.ts} | 0 .../test/requests/{BmpRequest.spec.ts => BmpRequest.test.ts} | 0 .../test/requests/{JpegRequest.spec.ts => JpegRequest.test.ts} | 0 42 files changed, 7 insertions(+), 7 deletions(-) rename packages/axis-configuration/test/parameters/{Parameters.spec.ts => Parameters.test.ts} (100%) rename packages/axis-configuration/test/parameters/request-response/{GetParametersRequest.spec.ts => GetParametersRequest.test.ts} (100%) rename packages/axis-configuration/test/parameters/request-response/{GetParametersResponse.spec.ts => GetParametersResponse.test.ts} (100%) rename packages/axis-configuration/test/parameters/request-response/{UpdateParametersRequest.spec.ts => UpdateParametersRequest.test.ts} (100%) rename packages/axis-configuration/test/parameters/request-response/{UpdateParametersResponse.spec.ts => UpdateParametersResponse.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/{User.spec.ts => User.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/{UserAccounts.spec.ts => UserAccounts.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/request-response/{AddUserRequest.spec.ts => AddUserRequest.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/request-response/{GetUsersRequest.spec.ts => GetUsersRequest.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/request-response/{GetUsersResponse.spec.ts => GetUsersResponse.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/request-response/{RemoveUserRequest.spec.ts => RemoveUserRequest.test.ts} (100%) rename packages/axis-configuration/test/user-accounts/request-response/{UpdateUserRequest.spec.ts => UpdateUserRequest.test.ts} (100%) rename packages/axis-core/test/{Connection.spec.ts => Connection.test.ts} (100%) rename packages/axis-core/test/{DeviceRequest.spec.ts => DeviceRequest.test.ts} (100%) rename packages/axis-core/test/auth/{basic.spec.ts => basic.test.ts} (100%) rename packages/axis-core/test/auth/{challenge.spec.ts => challenge.test.ts} (100%) rename packages/axis-core/test/auth/{digest.spec.ts => digest.test.ts} (100%) rename packages/axis-discovery-bonjour/test/{Discovery.spec.ts => Discovery.test.ts} (100%) rename packages/axis-discovery-bonjour/test/{Mappings.spec.ts => Mappings.test.ts} (100%) rename packages/axis-discovery-bonjour/test/{NetworkInterface.spec.ts => NetworkInterface.test.ts} (100%) rename packages/axis-discovery-ssdp/test/{Discovery.spec.ts => Discovery.test.ts} (100%) rename packages/axis-discovery-ssdp/test/network-interfaces/{NetworkInterface.spec.ts => NetworkInterface.test.ts} (100%) rename packages/axis-discovery-ssdp/test/root-descriptions/{Mappings.spec.ts => Mappings.test.ts} (100%) rename packages/axis-discovery-ssdp/test/root-descriptions/{RootDescription.spec.ts => RootDescription.test.ts} (100%) rename packages/axis-discovery-ssdp/test/sockets/{Mappings.spec.ts => Mappings.test.ts} (100%) rename packages/axis-discovery-ssdp/test/sockets/{Message.spec.ts => Message.test.ts} (100%) rename packages/axis-discovery/test/{Discovery.spec.ts => Discovery.test.ts} (100%) rename packages/axis-discovery/test/caches/{DeviceCache.spec.ts => DeviceCache.test.ts} (100%) rename packages/axis-maintenance/test/factory-default/{FactoryDefaultRequest.spec.ts => FactoryDefaultRequest.test.ts} (100%) rename packages/axis-maintenance/test/factory-default/{FactoryDefaultResponse.spec.ts => FactoryDefaultResponse.test.ts} (100%) rename packages/axis-maintenance/test/restart/{RestartRequest.spec.ts => RestartRequest.test.ts} (100%) rename packages/axis-maintenance/test/restart/{RestartResponse.spec.ts => RestartResponse.test.ts} (100%) rename packages/axis-snapshot/test/{Connection.spec.ts => Connection.test.ts} (100%) rename packages/axis-snapshot/test/requests/{BmpRequest.spec.ts => BmpRequest.test.ts} (100%) rename packages/axis-snapshot/test/requests/{JpegRequest.spec.ts => JpegRequest.test.ts} (100%) diff --git a/packages/axis-configuration/jest.config.js b/packages/axis-configuration/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-configuration/jest.config.js +++ b/packages/axis-configuration/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-configuration/test/parameters/Parameters.spec.ts b/packages/axis-configuration/test/parameters/Parameters.test.ts similarity index 100% rename from packages/axis-configuration/test/parameters/Parameters.spec.ts rename to packages/axis-configuration/test/parameters/Parameters.test.ts diff --git a/packages/axis-configuration/test/parameters/request-response/GetParametersRequest.spec.ts b/packages/axis-configuration/test/parameters/request-response/GetParametersRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/parameters/request-response/GetParametersRequest.spec.ts rename to packages/axis-configuration/test/parameters/request-response/GetParametersRequest.test.ts diff --git a/packages/axis-configuration/test/parameters/request-response/GetParametersResponse.spec.ts b/packages/axis-configuration/test/parameters/request-response/GetParametersResponse.test.ts similarity index 100% rename from packages/axis-configuration/test/parameters/request-response/GetParametersResponse.spec.ts rename to packages/axis-configuration/test/parameters/request-response/GetParametersResponse.test.ts diff --git a/packages/axis-configuration/test/parameters/request-response/UpdateParametersRequest.spec.ts b/packages/axis-configuration/test/parameters/request-response/UpdateParametersRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/parameters/request-response/UpdateParametersRequest.spec.ts rename to packages/axis-configuration/test/parameters/request-response/UpdateParametersRequest.test.ts diff --git a/packages/axis-configuration/test/parameters/request-response/UpdateParametersResponse.spec.ts b/packages/axis-configuration/test/parameters/request-response/UpdateParametersResponse.test.ts similarity index 100% rename from packages/axis-configuration/test/parameters/request-response/UpdateParametersResponse.spec.ts rename to packages/axis-configuration/test/parameters/request-response/UpdateParametersResponse.test.ts diff --git a/packages/axis-configuration/test/user-accounts/User.spec.ts b/packages/axis-configuration/test/user-accounts/User.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/User.spec.ts rename to packages/axis-configuration/test/user-accounts/User.test.ts diff --git a/packages/axis-configuration/test/user-accounts/UserAccounts.spec.ts b/packages/axis-configuration/test/user-accounts/UserAccounts.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/UserAccounts.spec.ts rename to packages/axis-configuration/test/user-accounts/UserAccounts.test.ts diff --git a/packages/axis-configuration/test/user-accounts/request-response/AddUserRequest.spec.ts b/packages/axis-configuration/test/user-accounts/request-response/AddUserRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/request-response/AddUserRequest.spec.ts rename to packages/axis-configuration/test/user-accounts/request-response/AddUserRequest.test.ts diff --git a/packages/axis-configuration/test/user-accounts/request-response/GetUsersRequest.spec.ts b/packages/axis-configuration/test/user-accounts/request-response/GetUsersRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/request-response/GetUsersRequest.spec.ts rename to packages/axis-configuration/test/user-accounts/request-response/GetUsersRequest.test.ts diff --git a/packages/axis-configuration/test/user-accounts/request-response/GetUsersResponse.spec.ts b/packages/axis-configuration/test/user-accounts/request-response/GetUsersResponse.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/request-response/GetUsersResponse.spec.ts rename to packages/axis-configuration/test/user-accounts/request-response/GetUsersResponse.test.ts diff --git a/packages/axis-configuration/test/user-accounts/request-response/RemoveUserRequest.spec.ts b/packages/axis-configuration/test/user-accounts/request-response/RemoveUserRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/request-response/RemoveUserRequest.spec.ts rename to packages/axis-configuration/test/user-accounts/request-response/RemoveUserRequest.test.ts diff --git a/packages/axis-configuration/test/user-accounts/request-response/UpdateUserRequest.spec.ts b/packages/axis-configuration/test/user-accounts/request-response/UpdateUserRequest.test.ts similarity index 100% rename from packages/axis-configuration/test/user-accounts/request-response/UpdateUserRequest.spec.ts rename to packages/axis-configuration/test/user-accounts/request-response/UpdateUserRequest.test.ts diff --git a/packages/axis-core/jest.config.js b/packages/axis-core/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-core/jest.config.js +++ b/packages/axis-core/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-core/test/Connection.spec.ts b/packages/axis-core/test/Connection.test.ts similarity index 100% rename from packages/axis-core/test/Connection.spec.ts rename to packages/axis-core/test/Connection.test.ts diff --git a/packages/axis-core/test/DeviceRequest.spec.ts b/packages/axis-core/test/DeviceRequest.test.ts similarity index 100% rename from packages/axis-core/test/DeviceRequest.spec.ts rename to packages/axis-core/test/DeviceRequest.test.ts diff --git a/packages/axis-core/test/auth/basic.spec.ts b/packages/axis-core/test/auth/basic.test.ts similarity index 100% rename from packages/axis-core/test/auth/basic.spec.ts rename to packages/axis-core/test/auth/basic.test.ts diff --git a/packages/axis-core/test/auth/challenge.spec.ts b/packages/axis-core/test/auth/challenge.test.ts similarity index 100% rename from packages/axis-core/test/auth/challenge.spec.ts rename to packages/axis-core/test/auth/challenge.test.ts diff --git a/packages/axis-core/test/auth/digest.spec.ts b/packages/axis-core/test/auth/digest.test.ts similarity index 100% rename from packages/axis-core/test/auth/digest.spec.ts rename to packages/axis-core/test/auth/digest.test.ts diff --git a/packages/axis-discovery-bonjour/jest.config.js b/packages/axis-discovery-bonjour/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-discovery-bonjour/jest.config.js +++ b/packages/axis-discovery-bonjour/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-discovery-bonjour/test/Discovery.spec.ts b/packages/axis-discovery-bonjour/test/Discovery.test.ts similarity index 100% rename from packages/axis-discovery-bonjour/test/Discovery.spec.ts rename to packages/axis-discovery-bonjour/test/Discovery.test.ts diff --git a/packages/axis-discovery-bonjour/test/Mappings.spec.ts b/packages/axis-discovery-bonjour/test/Mappings.test.ts similarity index 100% rename from packages/axis-discovery-bonjour/test/Mappings.spec.ts rename to packages/axis-discovery-bonjour/test/Mappings.test.ts diff --git a/packages/axis-discovery-bonjour/test/NetworkInterface.spec.ts b/packages/axis-discovery-bonjour/test/NetworkInterface.test.ts similarity index 100% rename from packages/axis-discovery-bonjour/test/NetworkInterface.spec.ts rename to packages/axis-discovery-bonjour/test/NetworkInterface.test.ts diff --git a/packages/axis-discovery-ssdp/jest.config.js b/packages/axis-discovery-ssdp/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-discovery-ssdp/jest.config.js +++ b/packages/axis-discovery-ssdp/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-discovery-ssdp/test/Discovery.spec.ts b/packages/axis-discovery-ssdp/test/Discovery.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/Discovery.spec.ts rename to packages/axis-discovery-ssdp/test/Discovery.test.ts diff --git a/packages/axis-discovery-ssdp/test/network-interfaces/NetworkInterface.spec.ts b/packages/axis-discovery-ssdp/test/network-interfaces/NetworkInterface.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/network-interfaces/NetworkInterface.spec.ts rename to packages/axis-discovery-ssdp/test/network-interfaces/NetworkInterface.test.ts diff --git a/packages/axis-discovery-ssdp/test/root-descriptions/Mappings.spec.ts b/packages/axis-discovery-ssdp/test/root-descriptions/Mappings.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/root-descriptions/Mappings.spec.ts rename to packages/axis-discovery-ssdp/test/root-descriptions/Mappings.test.ts diff --git a/packages/axis-discovery-ssdp/test/root-descriptions/RootDescription.spec.ts b/packages/axis-discovery-ssdp/test/root-descriptions/RootDescription.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/root-descriptions/RootDescription.spec.ts rename to packages/axis-discovery-ssdp/test/root-descriptions/RootDescription.test.ts diff --git a/packages/axis-discovery-ssdp/test/sockets/Mappings.spec.ts b/packages/axis-discovery-ssdp/test/sockets/Mappings.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/sockets/Mappings.spec.ts rename to packages/axis-discovery-ssdp/test/sockets/Mappings.test.ts diff --git a/packages/axis-discovery-ssdp/test/sockets/Message.spec.ts b/packages/axis-discovery-ssdp/test/sockets/Message.test.ts similarity index 100% rename from packages/axis-discovery-ssdp/test/sockets/Message.spec.ts rename to packages/axis-discovery-ssdp/test/sockets/Message.test.ts diff --git a/packages/axis-discovery/jest.config.js b/packages/axis-discovery/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-discovery/jest.config.js +++ b/packages/axis-discovery/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-discovery/test/Discovery.spec.ts b/packages/axis-discovery/test/Discovery.test.ts similarity index 100% rename from packages/axis-discovery/test/Discovery.spec.ts rename to packages/axis-discovery/test/Discovery.test.ts diff --git a/packages/axis-discovery/test/caches/DeviceCache.spec.ts b/packages/axis-discovery/test/caches/DeviceCache.test.ts similarity index 100% rename from packages/axis-discovery/test/caches/DeviceCache.spec.ts rename to packages/axis-discovery/test/caches/DeviceCache.test.ts diff --git a/packages/axis-maintenance/jest.config.js b/packages/axis-maintenance/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-maintenance/jest.config.js +++ b/packages/axis-maintenance/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-maintenance/test/factory-default/FactoryDefaultRequest.spec.ts b/packages/axis-maintenance/test/factory-default/FactoryDefaultRequest.test.ts similarity index 100% rename from packages/axis-maintenance/test/factory-default/FactoryDefaultRequest.spec.ts rename to packages/axis-maintenance/test/factory-default/FactoryDefaultRequest.test.ts diff --git a/packages/axis-maintenance/test/factory-default/FactoryDefaultResponse.spec.ts b/packages/axis-maintenance/test/factory-default/FactoryDefaultResponse.test.ts similarity index 100% rename from packages/axis-maintenance/test/factory-default/FactoryDefaultResponse.spec.ts rename to packages/axis-maintenance/test/factory-default/FactoryDefaultResponse.test.ts diff --git a/packages/axis-maintenance/test/restart/RestartRequest.spec.ts b/packages/axis-maintenance/test/restart/RestartRequest.test.ts similarity index 100% rename from packages/axis-maintenance/test/restart/RestartRequest.spec.ts rename to packages/axis-maintenance/test/restart/RestartRequest.test.ts diff --git a/packages/axis-maintenance/test/restart/RestartResponse.spec.ts b/packages/axis-maintenance/test/restart/RestartResponse.test.ts similarity index 100% rename from packages/axis-maintenance/test/restart/RestartResponse.spec.ts rename to packages/axis-maintenance/test/restart/RestartResponse.test.ts diff --git a/packages/axis-snapshot/jest.config.js b/packages/axis-snapshot/jest.config.js index 36368532..4b24c310 100644 --- a/packages/axis-snapshot/jest.config.js +++ b/packages/axis-snapshot/jest.config.js @@ -1,5 +1,5 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - testMatch: ['**/*.spec.ts'], + testMatch: ['**/*.test.ts'], }; diff --git a/packages/axis-snapshot/test/Connection.spec.ts b/packages/axis-snapshot/test/Connection.test.ts similarity index 100% rename from packages/axis-snapshot/test/Connection.spec.ts rename to packages/axis-snapshot/test/Connection.test.ts diff --git a/packages/axis-snapshot/test/requests/BmpRequest.spec.ts b/packages/axis-snapshot/test/requests/BmpRequest.test.ts similarity index 100% rename from packages/axis-snapshot/test/requests/BmpRequest.spec.ts rename to packages/axis-snapshot/test/requests/BmpRequest.test.ts diff --git a/packages/axis-snapshot/test/requests/JpegRequest.spec.ts b/packages/axis-snapshot/test/requests/JpegRequest.test.ts similarity index 100% rename from packages/axis-snapshot/test/requests/JpegRequest.spec.ts rename to packages/axis-snapshot/test/requests/JpegRequest.test.ts