This (temporary) change is needed to prevent the unit tests from failing.

\# What

\# Why

\# How

\# Designs

\# Test Steps

\# Other Notes
This commit is contained in:
Ken Sternberg
2024-12-26 13:59:00 -08:00
parent 6d7fc94698
commit dddde09be5
4 changed files with 5121 additions and 6736 deletions

11843
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -31,13 +31,7 @@ if (!skipChrome) {
args: [
"disable-search-engine-choice-screen",
...(runHeadless
? [
"headless",
"disable-gpu",
"no-sandbox",
"window-size=1280,672",
"browser-test",
]
? ["headless", "disable-gpu", "no-sandbox", "window-size=1280,672", "browser-test"]
: []),
],
},
@ -77,9 +71,7 @@ export const config: Options.Testrunner = {
plugins: [
litCss(),
replace({
"process.env.NODE_ENV": JSON.stringify(
isProdBuild ? "production" : "development",
),
"process.env.NODE_ENV": JSON.stringify(isProdBuild ? "production" : "development"),
"process.env.CWD": JSON.stringify(cwd()),
"process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),
"preventAssignment": true,
@ -333,7 +325,7 @@ export const config: Options.Testrunner = {
afterTest: async function (
_test,
_context,
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries },
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries }
) {
if (lemmeSee) {
await browser.pause(500);