From 37ccd4b5a35bb0ca7970d74330aac24d814599bd Mon Sep 17 00:00:00 2001 From: voluntas Date: Wed, 25 Dec 2024 18:21:37 +0900 Subject: [PATCH] pnpm run fmt --- biome.jsonc | 10 +++++++++- e2e-tests/data_channel_signaling_only/main.mts | 7 +------ e2e-tests/messaging/main.mts | 8 +------- e2e-tests/recvonly/main.mts | 7 +------ e2e-tests/sendonly/main.mts | 7 +------ e2e-tests/sendonly_audio/main.mts | 7 +------ e2e-tests/spotlight_recvonly/main.mts | 7 +------ e2e-tests/spotlight_sendonly/main.mts | 7 +------ 8 files changed, 16 insertions(+), 44 deletions(-) diff --git a/biome.jsonc b/biome.jsonc index 144a0739..198592e1 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -4,7 +4,15 @@ "enabled": true }, "files": { - "include": ["src/**", "examples/**", "tests/**", "*.config.mjs", "package.json", "biome.jsonc"] + "include": [ + "src/**", + "examples/**", + "tests/**", + "e2e-tests/**", + "*.config.mjs", + "package.json", + "biome.jsonc" + ] }, "linter": { "enabled": true, diff --git a/e2e-tests/data_channel_signaling_only/main.mts b/e2e-tests/data_channel_signaling_only/main.mts index be310a5a..26f4c907 100644 --- a/e2e-tests/data_channel_signaling_only/main.mts +++ b/e2e-tests/data_channel_signaling_only/main.mts @@ -12,12 +12,7 @@ document.addEventListener('DOMContentLoaded', async () => { const channelIdSuffix = import.meta.env.VITE_TEST_CHANNEL_ID_SUFFIX || '' const secretKey = import.meta.env.VITE_TEST_SECRET_KEY - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) // SDK バージョンの表示 const sdkVersionElement = document.querySelector('#sdk-version') diff --git a/e2e-tests/messaging/main.mts b/e2e-tests/messaging/main.mts index dfdd868f..81a8ef17 100644 --- a/e2e-tests/messaging/main.mts +++ b/e2e-tests/messaging/main.mts @@ -31,13 +31,7 @@ document.addEventListener('DOMContentLoaded', async () => { document.querySelector('#connect')?.addEventListener('click', async () => { const channelName = getChannelName() - client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - channelName, - ) + client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey, channelName) const checkCompress = document.getElementById('check-compress') as HTMLInputElement const compress = checkCompress.checked const checkHeader = document.getElementById('check-header') as HTMLInputElement diff --git a/e2e-tests/recvonly/main.mts b/e2e-tests/recvonly/main.mts index 77410767..c19bfd25 100644 --- a/e2e-tests/recvonly/main.mts +++ b/e2e-tests/recvonly/main.mts @@ -12,12 +12,7 @@ document.addEventListener('DOMContentLoaded', () => { const secretKey = import.meta.env.VITE_TEST_SECRET_KEY // Sora クライアントの初期化 - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) // SDK バージョンの表示 const sdkVersionElement = document.querySelector('#sdk-version') diff --git a/e2e-tests/sendonly/main.mts b/e2e-tests/sendonly/main.mts index 0f883cf0..c8732509 100644 --- a/e2e-tests/sendonly/main.mts +++ b/e2e-tests/sendonly/main.mts @@ -11,12 +11,7 @@ document.addEventListener('DOMContentLoaded', async () => { const channelIdSuffix = import.meta.env.VITE_TEST_CHANNEL_ID_SUFFIX || '' const secretKey = import.meta.env.VITE_TEST_SECRET_KEY - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) // SDK バージョンの表示 const sdkVersionElement = document.querySelector('#sdk-version') diff --git a/e2e-tests/sendonly_audio/main.mts b/e2e-tests/sendonly_audio/main.mts index d7b772ed..dd8305e8 100644 --- a/e2e-tests/sendonly_audio/main.mts +++ b/e2e-tests/sendonly_audio/main.mts @@ -10,12 +10,7 @@ document.addEventListener('DOMContentLoaded', async () => { const channelIdSuffix = import.meta.env.VITE_TEST_CHANNEL_ID_SUFFIX || '' const secretKey = import.meta.env.VITE_TEST_SECRET_KEY - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) document.querySelector('#connect')?.addEventListener('click', async () => { const stream = await navigator.mediaDevices.getUserMedia({ video: false, audio: true }) diff --git a/e2e-tests/spotlight_recvonly/main.mts b/e2e-tests/spotlight_recvonly/main.mts index 8f33c5a3..d3f343c3 100644 --- a/e2e-tests/spotlight_recvonly/main.mts +++ b/e2e-tests/spotlight_recvonly/main.mts @@ -12,12 +12,7 @@ document.addEventListener('DOMContentLoaded', () => { const secretKey = import.meta.env.VITE_TEST_SECRET_KEY // Sora クライアントの初期化 - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) document.querySelector('#connect')?.addEventListener('click', async () => { await client.connect() diff --git a/e2e-tests/spotlight_sendonly/main.mts b/e2e-tests/spotlight_sendonly/main.mts index c92c6593..d93272e0 100644 --- a/e2e-tests/spotlight_sendonly/main.mts +++ b/e2e-tests/spotlight_sendonly/main.mts @@ -10,12 +10,7 @@ document.addEventListener('DOMContentLoaded', async () => { const channelIdSuffix = import.meta.env.VITE_TEST_CHANNEL_ID_SUFFIX || '' const secretKey = import.meta.env.VITE_TEST_SECRET_KEY - const client = new SoraClient( - signalingUrl, - channelIdPrefix, - channelIdSuffix, - secretKey, - ) + const client = new SoraClient(signalingUrl, channelIdPrefix, channelIdSuffix, secretKey) document.querySelector('#connect')?.addEventListener('click', async () => { const stream = await navigator.mediaDevices.getUserMedia({ video: true, audio: true })