@genesislcap/foundation-testing 14.312.1-alpha-5b30b75.0 → 14.312.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,8 +31,13 @@ const setup = async () => {
31
31
  });
32
32
  window.matchMedia = () => ({
33
33
  matches: false,
34
+ media: '',
35
+ onchange: null,
34
36
  addListener: () => { },
35
37
  removeListener: () => { },
38
+ addEventListener: () => { },
39
+ removeEventListener: () => { },
40
+ dispatchEvent: () => false,
36
41
  });
37
42
  /**
38
43
  * There may have been a change to how the `CSSOM.parse(rule)` works, and how invalid rules are treated. Here we'll be
@@ -1 +1 @@
1
- {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/jsdom/setup.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,eAAO,MAAM,KAAK,qBA8GjB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,qBAkDpB,CAAC"}
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/jsdom/setup.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,eAAO,MAAM,KAAK,qBAoHjB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,qBAkDpB,CAAC"}
@@ -29,8 +29,13 @@ export const setup = () => __awaiter(void 0, void 0, void 0, function* () {
29
29
  });
30
30
  window.matchMedia = () => ({
31
31
  matches: false,
32
+ media: '',
33
+ onchange: null,
32
34
  addListener: () => { },
33
35
  removeListener: () => { },
36
+ addEventListener: () => { },
37
+ removeEventListener: () => { },
38
+ dispatchEvent: () => false,
34
39
  });
35
40
  /**
36
41
  * There may have been a change to how the `CSSOM.parse(rule)` works, and how invalid rules are treated. Here we'll be
@@ -12,7 +12,7 @@ import { Registration } from '@microsoft/fast-foundation';
12
12
  import { default as sinon_2 } from 'sinon';
13
13
  import { default as sinon_3 } from 'sinon';
14
14
  import { suite } from 'uvu';
15
- import { test } from 'uvu';
15
+ import { test as test_2 } from 'uvu';
16
16
  import { uvu } from 'uvu';
17
17
  import { ViewTemplate } from '@microsoft/fast-element';
18
18
 
@@ -352,7 +352,7 @@ export { suite }
352
352
  */
353
353
  export declare type SuiteCallback<T> = uvu.Callback<ComponentContext<T>>;
354
354
 
355
- export { test }
355
+ export { test_2 as test }
356
356
 
357
357
  /**
358
358
  * Decorator: Used on a test harness class based on a `FoundationElement` to give it extra functionality
@@ -18,7 +18,7 @@ import { Registration } from '@microsoft/fast-foundation';
18
18
  import { default as sinon_2 } from 'sinon';
19
19
  import { default as sinon_3 } from 'sinon';
20
20
  import { suite } from 'uvu';
21
- import { test } from 'uvu';
21
+ import { test as test_2 } from 'uvu';
22
22
  import { uvu } from 'uvu';
23
23
  import { ViewTemplate } from '@microsoft/fast-element';
24
24
 
@@ -123,7 +123,7 @@ export { suite }
123
123
  // @public
124
124
  export type SuiteCallback<T> = uvu.Callback<ComponentContext<T>>;
125
125
 
126
- export { test }
126
+ export { test_2 as test }
127
127
 
128
128
  // @public
129
129
  export function testSpy(constructor: Function): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-testing",
3
3
  "description": "Genesis Foundation Testing",
4
- "version": "14.312.1-alpha-5b30b75.0",
4
+ "version": "14.312.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -75,7 +75,7 @@
75
75
  "tsx": "^4.7.0"
76
76
  },
77
77
  "dependencies": {
78
- "@genesislcap/foundation-logger": "14.312.1-alpha-5b30b75.0",
78
+ "@genesislcap/foundation-logger": "14.312.1",
79
79
  "@microsoft/fast-element": "1.14.0",
80
80
  "@microsoft/fast-foundation": "2.49.6",
81
81
  "@playwright/test": "^1.54.2",
@@ -96,5 +96,5 @@
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  },
99
- "gitHead": "804d67cf7d65d5965b154823ab7db761af1edc03"
99
+ "gitHead": "e93a505007f5271b52652f77b2117629f5b18def"
100
100
  }