@genesislcap/foundation-testing 14.11.2 → 14.11.3-alpha-8168d51.0
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.
|
@@ -10,8 +10,8 @@ import { HTMLView } from '@microsoft/fast-element';
|
|
|
10
10
|
import { Logger } from '@genesislcap/foundation-utils';
|
|
11
11
|
import { Registration } from '@microsoft/fast-foundation';
|
|
12
12
|
import { default as sinon_2 } from 'sinon';
|
|
13
|
-
import { suite
|
|
14
|
-
import { test
|
|
13
|
+
import { suite } from 'uvu';
|
|
14
|
+
import { test } from 'uvu';
|
|
15
15
|
import { uvu } from 'uvu';
|
|
16
16
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
17
17
|
|
|
@@ -323,7 +323,7 @@ export declare type SinonWrapper<T extends {
|
|
|
323
323
|
*/
|
|
324
324
|
export declare type SpiedFunctions<T> = Omit<FilterConditionally<T, (...args: any[]) => any>, 'constructor'>;
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { suite }
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Defines the Generic type for a test Suite `T` the callback function
|
|
@@ -333,7 +333,7 @@ export { suite_2 as suite }
|
|
|
333
333
|
*/
|
|
334
334
|
export declare type SuiteCallback<T> = uvu.Callback<ComponentContext<T>>;
|
|
335
335
|
|
|
336
|
-
export {
|
|
336
|
+
export { test }
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* Decorator: Used on a test harness class based on a `FoundationElement` to give it extra functionality
|
package/docs/api-report.md
CHANGED
|
@@ -16,8 +16,8 @@ import { HTMLView } from '@microsoft/fast-element';
|
|
|
16
16
|
import { Logger } from '@genesislcap/foundation-utils';
|
|
17
17
|
import { Registration } from '@microsoft/fast-foundation';
|
|
18
18
|
import { default as sinon_2 } from 'sinon';
|
|
19
|
-
import { suite
|
|
20
|
-
import { test
|
|
19
|
+
import { suite } from 'uvu';
|
|
20
|
+
import { test } from 'uvu';
|
|
21
21
|
import { uvu } from 'uvu';
|
|
22
22
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
23
23
|
|
|
@@ -112,12 +112,12 @@ export type SinonWrapper<T extends {
|
|
|
112
112
|
// @public
|
|
113
113
|
export type SpiedFunctions<T> = Omit<FilterConditionally<T, (...args: any[]) => any>, 'constructor'>;
|
|
114
114
|
|
|
115
|
-
export {
|
|
115
|
+
export { suite }
|
|
116
116
|
|
|
117
117
|
// @public
|
|
118
118
|
export type SuiteCallback<T> = uvu.Callback<ComponentContext<T>>;
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { test }
|
|
121
121
|
|
|
122
122
|
// @public
|
|
123
123
|
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.11.
|
|
4
|
+
"version": "14.11.3-alpha-8168d51.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"build": "npm run clean && npm run build:tsc && npm run api",
|
|
40
40
|
"build:rollup": "rollup -c",
|
|
41
41
|
"build:rollup:stats": "cross-env ANALYZE=1 npm run build:rollup",
|
|
42
|
-
"build:tsc": "tsc -b ./tsconfig.
|
|
42
|
+
"build:tsc": "tsc -b ./tsconfig.json",
|
|
43
43
|
"build:webpack": "cross-env NODE_ENV=production webpack",
|
|
44
44
|
"build:webpack:stats": "cross-env ANALYZE=1 npm run build:webpack",
|
|
45
45
|
"clean": "npm run clean:dist",
|
|
46
|
-
"clean:dist": "node ../../../build/clean dist tsconfig.
|
|
46
|
+
"clean:dist": "node ../../../build/clean dist tsconfig.tsbuildinfo .rollup.cache",
|
|
47
47
|
"dev": "npm run dev:tsc",
|
|
48
48
|
"dev:rollup": "rollup -c -w --configDev",
|
|
49
|
-
"dev:tsc": "tsc -b ./tsconfig.
|
|
49
|
+
"dev:tsc": "tsc -b ./tsconfig.json -w",
|
|
50
50
|
"dev:webpack": "cross-env NODE_ENV=development webpack serve",
|
|
51
51
|
"serve": "serve dist -p $npm_package_config_PORT",
|
|
52
52
|
"test": "echo \"Error: no test specified\""
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
61
61
|
"@rollup/plugin-terser": "^0.4.0",
|
|
62
62
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
63
|
-
"@types/mocha": "^9.1.0",
|
|
64
63
|
"@types/sinon": "^10.0.13",
|
|
65
64
|
"analytics": "^0.8.0",
|
|
66
65
|
"c8": "^7.11.0",
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
"webpack-merge": "^5.7.3"
|
|
105
104
|
},
|
|
106
105
|
"dependencies": {
|
|
107
|
-
"@genesislcap/foundation-utils": "
|
|
106
|
+
"@genesislcap/foundation-utils": "14.11.3-alpha-8168d51.0",
|
|
108
107
|
"@microsoft/fast-element": "^1.7.0",
|
|
109
108
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
110
109
|
"sinon": "15.0.1",
|
|
@@ -114,5 +113,5 @@
|
|
|
114
113
|
"publishConfig": {
|
|
115
114
|
"access": "public"
|
|
116
115
|
},
|
|
117
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "fb0f983f03347db0ea7ead62c5abfaf2a9a49122"
|
|
118
117
|
}
|