Added basic tests for testing a real websocket

This commit is contained in:
Niklas Jensen
2025-12-30 19:33:30 +01:00
committed by nikguin04
parent c4d3c8966c
commit 8098dcec9b
5 changed files with 169 additions and 15 deletions
+14 -3
View File
@@ -87,6 +87,9 @@ importers:
'@types/three':
specifier: ^0.180.0
version: 0.180.0
'@types/ws':
specifier: ^8.18.1
version: 8.18.1
'@typescript-eslint/eslint-plugin':
specifier: ^8.46.0
version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@9.37.0(jiti@2.6.1))(typescript@5.9.3))(eslint@9.37.0(jiti@2.6.1))(typescript@5.9.3)
@@ -147,6 +150,9 @@ importers:
vitest:
specifier: ^3.2.4
version: 3.2.4(@types/node@24.7.1)(jiti@2.6.1)(jsdom@27.0.0(postcss@8.5.6))(lightningcss@1.30.2)(yaml@2.8.1)
ws:
specifier: ^8.18.3
version: 8.18.3
packages:
@@ -763,6 +769,9 @@ packages:
'@types/webxr@0.5.24':
resolution: {integrity: sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==}
'@types/ws@8.18.1':
resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
'@typescript-eslint/eslint-plugin@8.46.0':
resolution: {integrity: sha512-hA8gxBq4ukonVXPy0OKhiaUh/68D0E88GSmtC1iAEnGaieuDi38LhS7jdCHRLi6ErJBNDGCzvh5EnzdPwUc0DA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -2720,7 +2729,6 @@ snapshots:
'@types/node@24.7.1':
dependencies:
undici-types: 7.14.0
optional: true
'@types/stats.js@0.17.4': {}
@@ -2736,6 +2744,10 @@ snapshots:
'@types/webxr@0.5.24': {}
'@types/ws@8.18.1':
dependencies:
'@types/node': 24.7.1
'@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@9.37.0(jiti@2.6.1))(typescript@5.9.3))(eslint@9.37.0(jiti@2.6.1))(typescript@5.9.3)':
dependencies:
'@eslint-community/regexpp': 4.12.1
@@ -3999,8 +4011,7 @@ snapshots:
ufo@1.6.1: {}
undici-types@7.14.0:
optional: true
undici-types@7.14.0: {}
unplugin-icons@22.4.2(svelte@5.39.11):
dependencies: