Skip to content

Use hooks, support React 18, drop React <16 #602

Use hooks, support React 18, drop React <16

Use hooks, support React 18, drop React <16 #602

Triggered via pull request February 12, 2026 14:32
@goto-bus-stopgoto-bus-stop
synchronize #117
hooks
Status Failure
Total duration 2m 6s
Artifacts

ci.yml

on: pull_request
Code style
42s
Code style
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

82 errors
Tests (18.x, 17.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
Tests (18.x, 18.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (20.x, 19.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
Tests (20.x, 17.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
Tests (22.x, 17.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (22.x, 18.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (22.x, 19.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (20.x, 18.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (24.x, 17.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (18.x, 19.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
test/index.test.js > YouTube > should create a YouTube player when mounted: test/index.test.js#L11
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/index.test.js:11:5
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only call loadVideoById when autoplay is enabled". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should respect start/endSeconds". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the iframe width/height using the width/height props". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mute or unmute the video using the "muted" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should set the volume using the "volume" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should pause the video using the "paused" prop". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should stop the video when "video" prop becomes null". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should load a different video when "video" prop changes". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.tsx#L262
TypeError: (container, options) => { isPaused = !options.playerVars.autoplay; if (options.events && options.e...<omitted>... } is not a constructor ❯ Object.createPlayer.current src/index.tsx:262:34 ❯ src/index.tsx:282:33 ❯ Immediate.<anonymous> test/util/createYouTube.js:6:24 This error originated in "test/index.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should create a YouTube player when mounted". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Tests (24.x, 18.x)
The strategy configuration was canceled because "test._24_x_19_x" failed
Tests (24.x, 18.x)
The operation was canceled.