Remove self-serve-logic.spec.js and related integration tests.
- Delete outdated tests for `useSelfServeLogic` composable, step navigation, and validation related to the Self-Serve module. - These tests have been deprecated in favor of newer, streamlined testing strategies and refactored logic.
This commit is contained in:
@@ -26,3 +26,22 @@ if (!globalThis.window) {
|
||||
if (!globalThis.self) {
|
||||
globalThis.self = globalThis;
|
||||
}
|
||||
|
||||
if (!globalThis.window.alert) {
|
||||
globalThis.window.alert = () => {};
|
||||
}
|
||||
|
||||
if (!globalThis.window.open) {
|
||||
globalThis.window.open = () => {};
|
||||
}
|
||||
|
||||
if (!globalThis.window.matchMedia) {
|
||||
globalThis.window.matchMedia = () => ({
|
||||
matches: false,
|
||||
addListener() {},
|
||||
removeListener() {},
|
||||
addEventListener() {},
|
||||
removeEventListener() {},
|
||||
dispatchEvent() { return false; }
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user