Skip to content

fix: init store only once when no web-components (#645) #2022

fix: init store only once when no web-components (#645)

fix: init store only once when no web-components (#645) #2022

Triggered via push November 24, 2024 00:10
Status Failure
Total duration 1m 37s
Artifacts

test.yml

on: push
Matrix: bun-tests
Matrix: node-tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 4 warnings
error: expect(received).toContain(expected): packages/brisa/src/cli/build.test.ts#L110
Compiled successfully!" Received: "" at /home/runner/work/brisa/brisa/packages/brisa/src/cli/build.test.ts:110:20
error: expect(received).toContain(expected): packages/brisa/src/cli/build.test.ts#L175
Expected to contain: "Generated static pages successfully!" Received: "[ info ] " at /home/runner/work/brisa/brisa/packages/brisa/src/cli/build.test.ts:175:20
error: expect(received).toContain(expected): packages/brisa/src/cli/build.test.ts#L203
Expected to contain: "Generated static pages successfully!" Received: "[ info ] " at /home/runner/work/brisa/brisa/packages/brisa/src/cli/build.test.ts:203:20
error: expect(received).toContain(expected): packages/brisa/src/cli/build.test.ts#L251
Expected to contain: "Generated static pages successfully!" Received: "[ info ] " at /home/runner/work/brisa/brisa/packages/brisa/src/cli/build.test.ts:251:20
error: expect(received).toContain(expected): packages/brisa/src/cli/build.test.ts#L271
Expected to contain: "Adapting output to my-adapter..." Received: "" at /home/runner/work/brisa/brisa/packages/brisa/src/cli/build.test.ts:271:20
error: incorrect header check: node:zlib#L104
at zlibOnError (node:zlib:104:51) at writeSync (native:1:1) at processChunkSync (node:zlib:207:25) at zlibBufferSync (node:zlib:99:32) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L104
at zlibOnError (node:zlib:104:51) at writeSync (native:1:1) at processChunkSync (node:zlib:207:25) at zlibBufferSync (node:zlib:99:32) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L104
at zlibOnError (node:zlib:104:51) at writeSync (native:1:1) at processChunkSync (node:zlib:207:25) at zlibBufferSync (node:zlib:99:32) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L104
at zlibOnError (node:zlib:104:51) at writeSync (native:1:1) at processChunkSync (node:zlib:207:25) at zlibBufferSync (node:zlib:99:32) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L104
at zlibOnError (node:zlib:104:51) at writeSync (native:1:1) at processChunkSync (node:zlib:207:25) at zlibBufferSync (node:zlib:99:32) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
bun-tests (windows-latest)
The job was canceled because "ubuntu-latest" failed.
error: expect(received).toEqual(expected): packages\adapter-vercel\index.test.ts#L98
{ overrides: { "about.html": { path: "about", }, "index.html": { path: "", }, }, routes: [ { dest: "/index.html", src: "/", }, { dest: "/about/", src: "/about", }, { headers: { Location: "/about", }, src: "/about/", status: 308, }, { + continue: true, + has: [ + { + key: "Sec-Fetch-Dest", + type: "header", + value: "document", + } + ], + headers: { + "Set-Cookie": "__vdpl=undefined; Path=/; SameSite=Strict; Secure; HttpOnly", + }, + src: "/.*", + }, + { handle: "filesystem", }, { dest: "/fn", src: "/.*", } ], version: 3, } - Expected - 0 + Received + 14 at D:\a\brisa\brisa\packages\adapter-vercel\index.test.ts:98:72
error: expect(received).toEqual(expected): packages\adapter-vercel\index.test.ts#L386
{ overrides: { "about.html": { path: "about", }, "index.html": { path: "", }, }, routes: [ { dest: "/index.html", src: "/", }, { dest: "/about/", src: "/about", }, { headers: { Location: "/about", }, src: "/about/", status: 308, + }, + { + continue: true, + has: [ + { + key: "Sec-Fetch-Dest", + type: "header", + value: "document", + } + ], + headers: { + "Set-Cookie": "__vdpl=undefined; Path=/; SameSite=Strict; Secure; HttpOnly", + }, + src: "/.*", } ], version: 3, } - Expected - 0 + Received + 14 at D:\a\brisa\brisa\packages\adapter-vercel\index.test.ts:386:72
error: expect(received).toEqual(expected): packages\adapter-vercel\index.test.ts#L430
{ overrides: { "about.html": { path: "about", }, "index.html": { path: "", }, }, routes: [ { dest: "/index.html", src: "/", }, { dest: "/about/", src: "/about", }, { headers: { Location: "/about", }, src: "/about/", status: 308, + }, + { + continue: true, + has: [ + { + key: "Sec-Fetch-Dest", + type: "header", + value: "document", + } + ], + headers: { + "Set-Cookie": "__vdpl=undefined; Path=/; SameSite=Strict; Secure; HttpOnly", + }, + src: "/.*", } ], version: 3, } - Expected - 0 + Received + 14 at D:\a\brisa\brisa\packages\adapter-vercel\index.test.ts:430:72
error: expect(received).toEqual(expected): packages\adapter-vercel\index.test.ts#L475
{ overrides: { + "about\\index.html": { + path: "about\\", - "about/index.html": { - path: "about", }, "index.html": { path: "", }, }, routes: [ { dest: "/index.html", src: "/", }, { + dest: "/about\\", + src: "/about\\/", - dest: "/about", - src: "/about/", }, { headers: { + Location: "/about\\/", - Location: "/about/", }, + src: "/about\\", - src: "/about", status: 308, + }, + { + continue: true, + has: [ + { + key: "Sec-Fetch-Dest", + type: "header", + value: "document", + } + ], + headers: { + "Set-Cookie": "__vdpl=undefined; Path=/; SameSite=Strict; Secure; HttpOnly", + }, + src: "/.*", } ], version: 3, } - Expected - 6 + Received + 20 at D:\a\brisa\brisa\packages\adapter-vercel\index.test.ts:475:72
error: expect(received).toEqual(expected): packages\adapter-vercel\index.test.ts#L529
{ overrides: { "_404.html": { path: "_404", }, "index.html": { path: "", }, }, routes: [ { dest: "/index.html", src: "/", }, { dest: "/_404/", src: "/_404", }, { headers: { Location: "/_404", }, src: "/_404/", status: 308, }, { + continue: true, + has: [ + { + key: "Sec-Fetch-Dest", + type: "header", + value: "document", + } + ], + headers: { + "Set-Cookie": "__vdpl=undefined; Path=/; SameSite=Strict; Secure; HttpOnly", + }, + src: "/.*", + }, + { handle: "filesystem", }, { dest: "/_404", src: "/(.*)", status: 404, } ], version: 3, } - Expected - 0 + Received + 14 at D:\a\brisa\brisa\packages\adapter-vercel\index.test.ts:529:72
ENOENT: No such file or directory
at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at
error: expect(received).toEqual(expected): packages\brisa\cli.test.ts#L185
[ "bun", [ "D:\\a\\brisa\\brisa\\packages\\brisa\\out\\cli\\serve\\index.js", + "undefined", - "3000", "DEV" ], { env: { ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "C:\\actionarchivecache\\", AGENT_TOOLSDIRECTORY: "C:\\hostedtoolcache\\windows", ALLUSERSPROFILE: "C:\\ProgramData", ANDROID_HOME: "C:\\Android\\android-sdk", ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_LATEST_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_ROOT: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_SDK_ROOT: "C:\\Android\\android-sdk", ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\tools\\apache-ant-1.10.14", APPDATA: "C:\\Users\\runneradmin\\AppData\\Roaming", AZURE_CONFIG_DIR: "C:\\azureCli", AZURE_DEVOPS_CACHE_DIR: "C:\\azureDevOpsCli\\cache", AZURE_EXTENSION_DIR: "C:\\Program Files\\Common Files\\AzureCliExtensionDirectory", AZ_DEVOPS_GLOBAL_CONFIG_DIR: "C:\\azureDevOpsCli", BRISA_BUILD_FOLDER: undefined, CABAL_DIR: "C:\\cabal", CI: "true", COBERTURA_HOME: "C:\\cobertura-2.1.1", COMPUTERNAME: "fv-az1347-898", CONDA: "C:\\Miniconda", ChocolateyInstall: "C:\\ProgramData\\chocolatey", ChromeWebDriver: "C:\\SeleniumWebDrivers\\ChromeDriver", ComSpec: "C:\\Windows\\system32\\cmd.exe", CommonProgramFiles: "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", CommonProgramW6432: "C:\\Program Files\\Common Files", DEPLOYMENT_BASEPATH: "C:\\actions", DOTNET_MULTILEVEL_LOOKUP: "0", DOTNET_NOLOGO: "1", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", DriverData: "C:\\Windows\\System32\\Drivers\\DriverData", EdgeWebDriver: "C:\\SeleniumWebDrivers\\EdgeDriver", GCM_INTERACTIVE: "Never", GHCUP_INSTALL_BASE_PREFIX: "C:\\", GHCUP_MSYS2: "C:\\msys64", GITHUB_ACTION: "__run_3", GITHUB_ACTIONS: "true", GITHUB_ACTION_REF: "", GITHUB_ACTION_REPOSITORY: "", GITHUB_ACTOR: "aralroca", GITHUB_ACTOR_ID: "13313058", GITHUB_API_URL: "https://api.github.com", GITHUB_BASE_REF: "", GITHUB_ENV: "D:\\a\\_temp\\_runner_file_commands\\set_env_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_EVENT_NAME: "push", GITHUB_EVENT_PATH: "D:\\a\\_temp\\_github_workflow\\event.json", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", GITHUB_HEAD_REF: "", GITHUB_JOB: "bun-tests", GITHUB_OUTPUT: "D:\\a\\_temp\\_runner_file_commands\\set_output_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_PATH: "D:\\a\\_temp\\_runner_file_commands\\add_path_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_REF: "refs/heads/canary", GITHUB_REF_NAME: "canary", GITHUB_REF_PROTECTED: "true", GITHUB_REF_TYPE: "branch", GITHUB_REPOSITORY: "brisa-build/brisa", GITHUB_REPOSITORY_ID: "686927416", GITHUB_REPOSITORY_OWNER: "brisa-build", GITHUB_REPOSITORY_OWNER_ID: "163689124", GITHUB_RETENTION_DAYS: "90", GITHUB_RUN_ATTEMPT: "1", GITHUB_RUN_ID: "11991478149", GITHUB_RUN_NUMBER: "2022", GITHUB_SERVER_URL: "https://github.com", GITHUB_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_STATE: "D:\\a\\_temp\\_runner_file_commands\\save_state_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_STEP_SUMMARY: "D:\\a\\_temp\\_runner_file_commands\\step_summary_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_TRIGGERING_ACTOR: "aralroca", GITHUB_WORKFLOW: "Tests", GITHUB_WORKFLOW_REF: "brisa-build/brisa/.github/workflows/test.yml@refs/heads/canary", GITHUB_WORKFLOW_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_WORKSPACE: "D:\\a\\brisa\\brisa",
error: expect(received).toEqual(expected): packages\brisa\cli.test.ts#L276
[ "bun", [ "--inspect", "D:\\a\\brisa\\brisa\\packages\\brisa\\out\\cli\\serve\\index.js", + "undefined", - "3000", "DEV" ], { env: { ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "C:\\actionarchivecache\\", AGENT_TOOLSDIRECTORY: "C:\\hostedtoolcache\\windows", ALLUSERSPROFILE: "C:\\ProgramData", ANDROID_HOME: "C:\\Android\\android-sdk", ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_LATEST_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_ROOT: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_SDK_ROOT: "C:\\Android\\android-sdk", ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\tools\\apache-ant-1.10.14", APPDATA: "C:\\Users\\runneradmin\\AppData\\Roaming", AZURE_CONFIG_DIR: "C:\\azureCli", AZURE_DEVOPS_CACHE_DIR: "C:\\azureDevOpsCli\\cache", AZURE_EXTENSION_DIR: "C:\\Program Files\\Common Files\\AzureCliExtensionDirectory", AZ_DEVOPS_GLOBAL_CONFIG_DIR: "C:\\azureDevOpsCli", BRISA_BUILD_FOLDER: undefined, CABAL_DIR: "C:\\cabal", CI: "true", COBERTURA_HOME: "C:\\cobertura-2.1.1", COMPUTERNAME: "fv-az1347-898", CONDA: "C:\\Miniconda", ChocolateyInstall: "C:\\ProgramData\\chocolatey", ChromeWebDriver: "C:\\SeleniumWebDrivers\\ChromeDriver", ComSpec: "C:\\Windows\\system32\\cmd.exe", CommonProgramFiles: "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", CommonProgramW6432: "C:\\Program Files\\Common Files", DEPLOYMENT_BASEPATH: "C:\\actions", DOTNET_MULTILEVEL_LOOKUP: "0", DOTNET_NOLOGO: "1", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", DriverData: "C:\\Windows\\System32\\Drivers\\DriverData", EdgeWebDriver: "C:\\SeleniumWebDrivers\\EdgeDriver", GCM_INTERACTIVE: "Never", GHCUP_INSTALL_BASE_PREFIX: "C:\\", GHCUP_MSYS2: "C:\\msys64", GITHUB_ACTION: "__run_3", GITHUB_ACTIONS: "true", GITHUB_ACTION_REF: "", GITHUB_ACTION_REPOSITORY: "", GITHUB_ACTOR: "aralroca", GITHUB_ACTOR_ID: "13313058", GITHUB_API_URL: "https://api.github.com", GITHUB_BASE_REF: "", GITHUB_ENV: "D:\\a\\_temp\\_runner_file_commands\\set_env_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_EVENT_NAME: "push", GITHUB_EVENT_PATH: "D:\\a\\_temp\\_github_workflow\\event.json", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", GITHUB_HEAD_REF: "", GITHUB_JOB: "bun-tests", GITHUB_OUTPUT: "D:\\a\\_temp\\_runner_file_commands\\set_output_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_PATH: "D:\\a\\_temp\\_runner_file_commands\\add_path_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_REF: "refs/heads/canary", GITHUB_REF_NAME: "canary", GITHUB_REF_PROTECTED: "true", GITHUB_REF_TYPE: "branch", GITHUB_REPOSITORY: "brisa-build/brisa", GITHUB_REPOSITORY_ID: "686927416", GITHUB_REPOSITORY_OWNER: "brisa-build", GITHUB_REPOSITORY_OWNER_ID: "163689124", GITHUB_RETENTION_DAYS: "90", GITHUB_RUN_ATTEMPT: "1", GITHUB_RUN_ID: "11991478149", GITHUB_RUN_NUMBER: "2022", GITHUB_SERVER_URL: "https://github.com", GITHUB_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_STATE: "D:\\a\\_temp\\_runner_file_commands\\save_state_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_STEP_SUMMARY: "D:\\a\\_temp\\_runner_file_commands\\step_summary_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_TRIGGERING_ACTOR: "aralroca", GITHUB_WORKFLOW: "Tests", GITHUB_WORKFLOW_REF: "brisa-build/brisa/.github/workflows/test.yml@refs/heads/canary", GITHUB_WORKFLOW_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_WORKSPACE: "D:\\a\\bris
error: expect(received).toEqual(expected): packages\brisa\cli.test.ts#L323
[ "bunx", [ "tauri", "init", "-A", "test", "-W", "test", "-D", "../out", "--dev-url", + "http://localhost:undefined", - "http://localhost:3000", "--before-dev-command", "echo 'Starting desktop app...'", "--before-build-command", "echo 'Building desktop app...'" ], { env: { ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "C:\\actionarchivecache\\", AGENT_TOOLSDIRECTORY: "C:\\hostedtoolcache\\windows", ALLUSERSPROFILE: "C:\\ProgramData", ANDROID_HOME: "C:\\Android\\android-sdk", ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_LATEST_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_ROOT: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_SDK_ROOT: "C:\\Android\\android-sdk", ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\tools\\apache-ant-1.10.14", APPDATA: "C:\\Users\\runneradmin\\AppData\\Roaming", AZURE_CONFIG_DIR: "C:\\azureCli", AZURE_DEVOPS_CACHE_DIR: "C:\\azureDevOpsCli\\cache", AZURE_EXTENSION_DIR: "C:\\Program Files\\Common Files\\AzureCliExtensionDirectory", AZ_DEVOPS_GLOBAL_CONFIG_DIR: "C:\\azureDevOpsCli", BRISA_BUILD_FOLDER: undefined, CABAL_DIR: "C:\\cabal", CI: "true", COBERTURA_HOME: "C:\\cobertura-2.1.1", COMPUTERNAME: "fv-az1347-898", CONDA: "C:\\Miniconda", ChocolateyInstall: "C:\\ProgramData\\chocolatey", ChromeWebDriver: "C:\\SeleniumWebDrivers\\ChromeDriver", ComSpec: "C:\\Windows\\system32\\cmd.exe", CommonProgramFiles: "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", CommonProgramW6432: "C:\\Program Files\\Common Files", DEPLOYMENT_BASEPATH: "C:\\actions", DOTNET_MULTILEVEL_LOOKUP: "0", DOTNET_NOLOGO: "1", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", DriverData: "C:\\Windows\\System32\\Drivers\\DriverData", EdgeWebDriver: "C:\\SeleniumWebDrivers\\EdgeDriver", GCM_INTERACTIVE: "Never", GHCUP_INSTALL_BASE_PREFIX: "C:\\", GHCUP_MSYS2: "C:\\msys64", GITHUB_ACTION: "__run_3", GITHUB_ACTIONS: "true", GITHUB_ACTION_REF: "", GITHUB_ACTION_REPOSITORY: "", GITHUB_ACTOR: "aralroca", GITHUB_ACTOR_ID: "13313058", GITHUB_API_URL: "https://api.github.com", GITHUB_BASE_REF: "", GITHUB_ENV: "D:\\a\\_temp\\_runner_file_commands\\set_env_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_EVENT_NAME: "push", GITHUB_EVENT_PATH: "D:\\a\\_temp\\_github_workflow\\event.json", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", GITHUB_HEAD_REF: "", GITHUB_JOB: "bun-tests", GITHUB_OUTPUT: "D:\\a\\_temp\\_runner_file_commands\\set_output_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_PATH: "D:\\a\\_temp\\_runner_file_commands\\add_path_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_REF: "refs/heads/canary", GITHUB_REF_NAME: "canary", GITHUB_REF_PROTECTED: "true", GITHUB_REF_TYPE: "branch", GITHUB_REPOSITORY: "brisa-build/brisa", GITHUB_REPOSITORY_ID: "686927416", GITHUB_REPOSITORY_OWNER: "brisa-build", GITHUB_REPOSITORY_OWNER_ID: "163689124", GITHUB_RETENTION_DAYS: "90", GITHUB_RUN_ATTEMPT: "1", GITHUB_RUN_ID: "11991478149", GITHUB_RUN_NUMBER: "2022", GITHUB_SERVER_URL: "https://github.com", GITHUB_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_STATE: "D:\\a\\_temp\\_runner_file_commands\\save_state_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_STEP_SUMMARY: "D:\\a\\_temp\\_runner_file_commands\\step_summary_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_TRIGGERING_ACTOR: "aralroca", GITHUB_WORKFLOW: "Tests",
error: expect(received).toEqual(expected): packages\brisa\cli.test.ts#L494
[ "bun", [ "D:\\a\\brisa\\brisa\\packages\\brisa\\out\\cli\\serve\\index.js", + "undefined", - "3000", "DEV" ], { env: { ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "C:\\actionarchivecache\\", AGENT_TOOLSDIRECTORY: "C:\\hostedtoolcache\\windows", ALLUSERSPROFILE: "C:\\ProgramData", ANDROID_HOME: "C:\\Android\\android-sdk", ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_LATEST_HOME: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_NDK_ROOT: "C:\\Android\\android-sdk\\ndk\\27.2.12479018", ANDROID_SDK_ROOT: "C:\\Android\\android-sdk", ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\tools\\apache-ant-1.10.14", APPDATA: "C:\\Users\\runneradmin\\AppData\\Roaming", AZURE_CONFIG_DIR: "C:\\azureCli", AZURE_DEVOPS_CACHE_DIR: "C:\\azureDevOpsCli\\cache", AZURE_EXTENSION_DIR: "C:\\Program Files\\Common Files\\AzureCliExtensionDirectory", AZ_DEVOPS_GLOBAL_CONFIG_DIR: "C:\\azureDevOpsCli", BRISA_BUILD_FOLDER: undefined, CABAL_DIR: "C:\\cabal", CI: "true", COBERTURA_HOME: "C:\\cobertura-2.1.1", COMPUTERNAME: "fv-az1347-898", CONDA: "C:\\Miniconda", ChocolateyInstall: "C:\\ProgramData\\chocolatey", ChromeWebDriver: "C:\\SeleniumWebDrivers\\ChromeDriver", ComSpec: "C:\\Windows\\system32\\cmd.exe", CommonProgramFiles: "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", CommonProgramW6432: "C:\\Program Files\\Common Files", DEPLOYMENT_BASEPATH: "C:\\actions", DOTNET_MULTILEVEL_LOOKUP: "0", DOTNET_NOLOGO: "1", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", DriverData: "C:\\Windows\\System32\\Drivers\\DriverData", EdgeWebDriver: "C:\\SeleniumWebDrivers\\EdgeDriver", GCM_INTERACTIVE: "Never", GHCUP_INSTALL_BASE_PREFIX: "C:\\", GHCUP_MSYS2: "C:\\msys64", GITHUB_ACTION: "__run_3", GITHUB_ACTIONS: "true", GITHUB_ACTION_REF: "", GITHUB_ACTION_REPOSITORY: "", GITHUB_ACTOR: "aralroca", GITHUB_ACTOR_ID: "13313058", GITHUB_API_URL: "https://api.github.com", GITHUB_BASE_REF: "", GITHUB_ENV: "D:\\a\\_temp\\_runner_file_commands\\set_env_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_EVENT_NAME: "push", GITHUB_EVENT_PATH: "D:\\a\\_temp\\_github_workflow\\event.json", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", GITHUB_HEAD_REF: "", GITHUB_JOB: "bun-tests", GITHUB_OUTPUT: "D:\\a\\_temp\\_runner_file_commands\\set_output_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_PATH: "D:\\a\\_temp\\_runner_file_commands\\add_path_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_REF: "refs/heads/canary", GITHUB_REF_NAME: "canary", GITHUB_REF_PROTECTED: "true", GITHUB_REF_TYPE: "branch", GITHUB_REPOSITORY: "brisa-build/brisa", GITHUB_REPOSITORY_ID: "686927416", GITHUB_REPOSITORY_OWNER: "brisa-build", GITHUB_REPOSITORY_OWNER_ID: "163689124", GITHUB_RETENTION_DAYS: "90", GITHUB_RUN_ATTEMPT: "1", GITHUB_RUN_ID: "11991478149", GITHUB_RUN_NUMBER: "2022", GITHUB_SERVER_URL: "https://github.com", GITHUB_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_STATE: "D:\\a\\_temp\\_runner_file_commands\\save_state_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_STEP_SUMMARY: "D:\\a\\_temp\\_runner_file_commands\\step_summary_0feef300-aa18-400e-b931-43b200fc4a60", GITHUB_TRIGGERING_ACTOR: "aralroca", GITHUB_WORKFLOW: "Tests", GITHUB_WORKFLOW_REF: "brisa-build/brisa/.github/workflows/test.yml@refs/heads/canary", GITHUB_WORKFLOW_SHA: "7c1ac86cf13e9d328f28faf4f703ac771a40ad98", GITHUB_WORKSPACE: "D:\\a\\brisa\\brisa",
bun-tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
error: expect(received).not.toHaveBeenCalled(): packages/brisa/src/utils/compile-assets/index.test.ts#L82
Expected number of calls: 0 Received number of calls: 2 at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/compile-assets/index.test.ts:82:21
error: expect(received).toEqual(expected): packages/brisa/src/utils/compile-assets/index.test.ts#L101
Expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com</loc><lastmod>2021-10-01T00:00:00.000Z</lastmod><changefreq>daily</changefreq><priority>1.0</priority><image:image><image:loc>https://example.com/image.jpg</image:loc><image:title>Image title</image:title><image:caption>Image caption</image:caption></image:image></url></urlset>" Received: "" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/compile-assets/index.test.ts:101:65
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L2865
Expected: "<html><head><title>Test</title></head><body><div>TEST</div><script>window._S=[[\"test\",\"test\"]]</script></body></html>" Received: "<html><head><title>Test</title></head><body><div>TEST</div><script id=\"init-S\">window._S=[[\"test\",\"test\"]]</script></body></html>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:2865:31
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L2903
Expected: "<html><head><title>Test</title></head><body><div id=\"S:1\"><div>Loading...</div></div></body></html><template id=\"U:1\"><div>TEST</div></template><script id=\"R:1\">u$('1')</script><script>window._S=[[\"test\",\"test\"]]</script>" Received: "<html><head><title>Test</title></head><body><div id=\"S:1\"><div>Loading...</div></div></body></html><template id=\"U:1\"><div>TEST</div></template><script id=\"R:1\">u$('1')</script><script id=\"init-S\">window._S=[[\"test\",\"test\"]]</script>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:2903:31
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L2930
Expected: "<div>TEST</div><script>window._S=[[\"test\",\"test\"]]</script>" Received: "<div>TEST</div><script id=\"init-S\">window._S=[[\"test\",\"test\"]]</script>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:2930:31
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L2968
Expected: "<html><head><title>Test</title></head><body><div>Without Suspense</div><div id=\"S:1\"><div>Loading...</div></div><script>window._S=[[\"no-suspense\",\"bar\"]]</script></body></html><template id=\"U:1\"><div>Suspense</div></template><script id=\"R:1\">u$('1')</script><script>for(let e of [[\"suspense\",\"foo\"]]) _S.push(e)</script>" Received: "<html><head><title>Test</title></head><body><div>Without Suspense</div><div id=\"S:1\"><div>Loading...</div></div><script id=\"init-S\">window._S=[[\"no-suspense\",\"bar\"]]</script></body></html><template id=\"U:1\"><div>Suspense</div></template><script id=\"R:1\">u$('1')</script><script>for(let e of [[\"suspense\",\"foo\"]]) _S.push(e)</script>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:2968:31
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L3034
Expected: "<meta name=\"robots\" content=\"noindex\" /><script>window._S=[[\"foo\",\"bar\"]]</script><script>(()=>{let u=new URL(location.href);u.searchParams.set(\"_not-found\",\"1\"),location.replace(u.toString())})()</script>" Received: "<meta name=\"robots\" content=\"noindex\" /><script id=\"init-S\">window._S=[[\"foo\",\"bar\"]]</script><script>(()=>{let u=new URL(location.href);u.searchParams.set(\"_not-found\",\"1\"),location.replace(u.toString())})()</script>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:3034:22
error: expect(received).toBe(expected): packages/brisa/src/utils/render-to-readable-stream/index.test.tsx#L3173
Expected: "<script>window._S=[[\"foo-client\",\"bar-client\"]]</script><script>window._xm=\"reactivity\";location.replace(\"http://localhost/foo\")</script>" Received: "<script id=\"init-S\">window._S=[[\"foo-client\",\"bar-client\"]]</script><script>window._xm=\"reactivity\";location.replace(\"http://localhost/foo\")</script>" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/render-to-readable-stream/index.test.tsx:3173:22
node-tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node-tests (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
bun-tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node-tests (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/