@fluidframework/test-utils 2.0.0-rc.3.0.7 → 2.0.0-rc.3.0.9

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.
@@ -97,7 +97,7 @@ export function createSummarizerFromFactory(provider: ITestObjectProvider, conta
97
97
  }>;
98
98
 
99
99
  // @internal
100
- export const createTestConfigProvider: () => ITestConfigProvider;
100
+ export const createTestConfigProvider: (defaults?: Record<string, ConfigTypes>) => ITestConfigProvider;
101
101
 
102
102
  // @internal
103
103
  export const createTestContainerRuntimeFactory: (containerRuntimeCtor: typeof ContainerRuntime) => {
@@ -19,5 +19,5 @@ export interface ITestConfigProvider extends IConfigProviderBase {
19
19
  * Creates a test config provider with the ability to set configs values and clear all config values.
20
20
  * @internal
21
21
  */
22
- export declare const createTestConfigProvider: () => ITestConfigProvider;
22
+ export declare const createTestConfigProvider: (defaults?: Record<string, ConfigTypes>) => ITestConfigProvider;
23
23
  //# sourceMappingURL=TestConfigs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TestConfigs.d.ts","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC/D,yBAAyB;IACzB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,QAAO,mBAc3C,CAAC"}
1
+ {"version":3,"file":"TestConfigs.d.ts","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC/D,yBAAyB;IACzB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,cAC1B,OAAO,MAAM,EAAE,WAAW,CAAC,KACnC,mBAcF,CAAC"}
@@ -9,8 +9,8 @@ exports.createTestConfigProvider = void 0;
9
9
  * Creates a test config provider with the ability to set configs values and clear all config values.
10
10
  * @internal
11
11
  */
12
- const createTestConfigProvider = () => {
13
- const settings = {};
12
+ const createTestConfigProvider = (defaults = {}) => {
13
+ const settings = { ...defaults };
14
14
  return {
15
15
  getRawConfig: (name) => settings[name],
16
16
  set: (key, value) => {
@@ -1 +1 @@
1
- {"version":3,"file":"TestConfigs.js","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAiBH;;;GAGG;AACI,MAAM,wBAAwB,GAAG,GAAwB,EAAE;IACjE,MAAM,QAAQ,GAAgC,EAAE,CAAC;IACjD,OAAO;QACN,YAAY,EAAE,CAAC,IAAY,EAAe,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC3D,GAAG,EAAE,CAAC,GAAW,EAAE,KAAkB,EAAE,EAAE;YACxC,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,KAAK,EAAE,GAAG,EAAE;YACX,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrC,gEAAgE;gBAChE,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC,CAAC;AAdW,QAAA,wBAAwB,4BAcnC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ConfigTypes, IConfigProviderBase } from \"@fluidframework/core-interfaces\";\n\n/**\n * Extension of IConfigProviderBase that supports setting a config value and clearing all\n * config values for testing.\n *\n * @internal\n */\nexport interface ITestConfigProvider extends IConfigProviderBase {\n\t/** Set a config value */\n\tset: (key: string, value: ConfigTypes) => void;\n\t/** Clear all config values */\n\tclear: () => void;\n}\n\n/**\n * Creates a test config provider with the ability to set configs values and clear all config values.\n * @internal\n */\nexport const createTestConfigProvider = (): ITestConfigProvider => {\n\tconst settings: Record<string, ConfigTypes> = {};\n\treturn {\n\t\tgetRawConfig: (name: string): ConfigTypes => settings[name],\n\t\tset: (key: string, value: ConfigTypes) => {\n\t\t\tsettings[key] = value;\n\t\t},\n\t\tclear: () => {\n\t\t\tObject.keys(settings).forEach((key) => {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n\t\t\t\tdelete settings[key];\n\t\t\t});\n\t\t},\n\t};\n};\n"]}
1
+ {"version":3,"file":"TestConfigs.js","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAiBH;;;GAGG;AACI,MAAM,wBAAwB,GAAG,CACvC,WAAwC,EAAE,EACpB,EAAE;IACxB,MAAM,QAAQ,GAAgC,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9D,OAAO;QACN,YAAY,EAAE,CAAC,IAAY,EAAe,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC3D,GAAG,EAAE,CAAC,GAAW,EAAE,KAAkB,EAAE,EAAE;YACxC,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,KAAK,EAAE,GAAG,EAAE;YACX,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrC,gEAAgE;gBAChE,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC,CAAC;AAhBW,QAAA,wBAAwB,4BAgBnC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ConfigTypes, IConfigProviderBase } from \"@fluidframework/core-interfaces\";\n\n/**\n * Extension of IConfigProviderBase that supports setting a config value and clearing all\n * config values for testing.\n *\n * @internal\n */\nexport interface ITestConfigProvider extends IConfigProviderBase {\n\t/** Set a config value */\n\tset: (key: string, value: ConfigTypes) => void;\n\t/** Clear all config values */\n\tclear: () => void;\n}\n\n/**\n * Creates a test config provider with the ability to set configs values and clear all config values.\n * @internal\n */\nexport const createTestConfigProvider = (\n\tdefaults: Record<string, ConfigTypes> = {},\n): ITestConfigProvider => {\n\tconst settings: Record<string, ConfigTypes> = { ...defaults };\n\treturn {\n\t\tgetRawConfig: (name: string): ConfigTypes => settings[name],\n\t\tset: (key: string, value: ConfigTypes) => {\n\t\t\tsettings[key] = value;\n\t\t},\n\t\tclear: () => {\n\t\t\tObject.keys(settings).forEach((key) => {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n\t\t\t\tdelete settings[key];\n\t\t\t});\n\t\t},\n\t};\n};\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/test-utils";
8
- export declare const pkgVersion = "2.0.0-rc.3.0.7";
8
+ export declare const pkgVersion = "2.0.0-rc.3.0.9";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/test-utils";
11
- exports.pkgVersion = "2.0.0-rc.3.0.7";
11
+ exports.pkgVersion = "2.0.0-rc.3.0.9";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,gBAAgB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-rc.3.0.7\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,gBAAgB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-rc.3.0.9\";\n"]}
@@ -19,5 +19,5 @@ export interface ITestConfigProvider extends IConfigProviderBase {
19
19
  * Creates a test config provider with the ability to set configs values and clear all config values.
20
20
  * @internal
21
21
  */
22
- export declare const createTestConfigProvider: () => ITestConfigProvider;
22
+ export declare const createTestConfigProvider: (defaults?: Record<string, ConfigTypes>) => ITestConfigProvider;
23
23
  //# sourceMappingURL=TestConfigs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TestConfigs.d.ts","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC/D,yBAAyB;IACzB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,QAAO,mBAc3C,CAAC"}
1
+ {"version":3,"file":"TestConfigs.d.ts","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC/D,yBAAyB;IACzB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC/C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,cAC1B,OAAO,MAAM,EAAE,WAAW,CAAC,KACnC,mBAcF,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Creates a test config provider with the ability to set configs values and clear all config values.
7
7
  * @internal
8
8
  */
9
- export const createTestConfigProvider = () => {
10
- const settings = {};
9
+ export const createTestConfigProvider = (defaults = {}) => {
10
+ const settings = { ...defaults };
11
11
  return {
12
12
  getRawConfig: (name) => settings[name],
13
13
  set: (key, value) => {
@@ -1 +1 @@
1
- {"version":3,"file":"TestConfigs.js","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAwB,EAAE;IACjE,MAAM,QAAQ,GAAgC,EAAE,CAAC;IACjD,OAAO;QACN,YAAY,EAAE,CAAC,IAAY,EAAe,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC3D,GAAG,EAAE,CAAC,GAAW,EAAE,KAAkB,EAAE,EAAE;YACxC,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,KAAK,EAAE,GAAG,EAAE;YACX,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrC,gEAAgE;gBAChE,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ConfigTypes, IConfigProviderBase } from \"@fluidframework/core-interfaces\";\n\n/**\n * Extension of IConfigProviderBase that supports setting a config value and clearing all\n * config values for testing.\n *\n * @internal\n */\nexport interface ITestConfigProvider extends IConfigProviderBase {\n\t/** Set a config value */\n\tset: (key: string, value: ConfigTypes) => void;\n\t/** Clear all config values */\n\tclear: () => void;\n}\n\n/**\n * Creates a test config provider with the ability to set configs values and clear all config values.\n * @internal\n */\nexport const createTestConfigProvider = (): ITestConfigProvider => {\n\tconst settings: Record<string, ConfigTypes> = {};\n\treturn {\n\t\tgetRawConfig: (name: string): ConfigTypes => settings[name],\n\t\tset: (key: string, value: ConfigTypes) => {\n\t\t\tsettings[key] = value;\n\t\t},\n\t\tclear: () => {\n\t\t\tObject.keys(settings).forEach((key) => {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n\t\t\t\tdelete settings[key];\n\t\t\t});\n\t\t},\n\t};\n};\n"]}
1
+ {"version":3,"file":"TestConfigs.js","sourceRoot":"","sources":["../src/TestConfigs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACvC,WAAwC,EAAE,EACpB,EAAE;IACxB,MAAM,QAAQ,GAAgC,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9D,OAAO;QACN,YAAY,EAAE,CAAC,IAAY,EAAe,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC3D,GAAG,EAAE,CAAC,GAAW,EAAE,KAAkB,EAAE,EAAE;YACxC,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,KAAK,EAAE,GAAG,EAAE;YACX,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrC,gEAAgE;gBAChE,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;YACtB,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ConfigTypes, IConfigProviderBase } from \"@fluidframework/core-interfaces\";\n\n/**\n * Extension of IConfigProviderBase that supports setting a config value and clearing all\n * config values for testing.\n *\n * @internal\n */\nexport interface ITestConfigProvider extends IConfigProviderBase {\n\t/** Set a config value */\n\tset: (key: string, value: ConfigTypes) => void;\n\t/** Clear all config values */\n\tclear: () => void;\n}\n\n/**\n * Creates a test config provider with the ability to set configs values and clear all config values.\n * @internal\n */\nexport const createTestConfigProvider = (\n\tdefaults: Record<string, ConfigTypes> = {},\n): ITestConfigProvider => {\n\tconst settings: Record<string, ConfigTypes> = { ...defaults };\n\treturn {\n\t\tgetRawConfig: (name: string): ConfigTypes => settings[name],\n\t\tset: (key: string, value: ConfigTypes) => {\n\t\t\tsettings[key] = value;\n\t\t},\n\t\tclear: () => {\n\t\t\tObject.keys(settings).forEach((key) => {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n\t\t\t\tdelete settings[key];\n\t\t\t});\n\t\t},\n\t};\n};\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/test-utils";
8
- export declare const pkgVersion = "2.0.0-rc.3.0.7";
8
+ export declare const pkgVersion = "2.0.0-rc.3.0.9";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/test-utils";
8
- export const pkgVersion = "2.0.0-rc.3.0.7";
8
+ export const pkgVersion = "2.0.0-rc.3.0.9";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-rc.3.0.7\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-rc.3.0.9\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/test-utils",
3
- "version": "2.0.0-rc.3.0.7",
3
+ "version": "2.0.0-rc.3.0.9",
4
4
  "description": "Utilities for Fluid tests",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -67,26 +67,26 @@
67
67
  "temp-directory": "nyc/.nyc_output"
68
68
  },
69
69
  "dependencies": {
70
- "@fluid-internal/test-driver-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
71
- "@fluidframework/aqueduct": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
72
- "@fluidframework/container-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
73
- "@fluidframework/container-loader": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
74
- "@fluidframework/container-runtime": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
75
- "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
76
- "@fluidframework/core-interfaces": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
77
- "@fluidframework/core-utils": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
78
- "@fluidframework/datastore": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
79
- "@fluidframework/datastore-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
80
- "@fluidframework/driver-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
81
- "@fluidframework/driver-utils": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
82
- "@fluidframework/local-driver": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
83
- "@fluidframework/map": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
70
+ "@fluid-internal/test-driver-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
71
+ "@fluidframework/aqueduct": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
72
+ "@fluidframework/container-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
73
+ "@fluidframework/container-loader": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
74
+ "@fluidframework/container-runtime": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
75
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
76
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
77
+ "@fluidframework/core-utils": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
78
+ "@fluidframework/datastore": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
79
+ "@fluidframework/datastore-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
80
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
81
+ "@fluidframework/driver-utils": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
82
+ "@fluidframework/local-driver": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
83
+ "@fluidframework/map": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
84
84
  "@fluidframework/protocol-definitions": "^3.2.0",
85
- "@fluidframework/request-handler": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
86
- "@fluidframework/routerlicious-driver": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
87
- "@fluidframework/runtime-definitions": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
88
- "@fluidframework/runtime-utils": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
89
- "@fluidframework/telemetry-utils": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
85
+ "@fluidframework/request-handler": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
86
+ "@fluidframework/routerlicious-driver": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
87
+ "@fluidframework/runtime-definitions": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
88
+ "@fluidframework/runtime-utils": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
89
+ "@fluidframework/telemetry-utils": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
90
90
  "best-random": "^1.0.0",
91
91
  "debug": "^4.3.4",
92
92
  "mocha": "^10.2.0",
@@ -95,7 +95,7 @@
95
95
  "devDependencies": {
96
96
  "@arethetypeswrong/cli": "^0.15.2",
97
97
  "@biomejs/biome": "^1.6.2",
98
- "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.3.0.7 <2.0.0-rc.3.1.0",
98
+ "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.3.0.9 <2.0.0-rc.3.1.0",
99
99
  "@fluid-tools/build-cli": "^0.37.0",
100
100
  "@fluidframework/build-common": "^2.0.3",
101
101
  "@fluidframework/build-tools": "^0.37.0",
@@ -22,8 +22,10 @@ export interface ITestConfigProvider extends IConfigProviderBase {
22
22
  * Creates a test config provider with the ability to set configs values and clear all config values.
23
23
  * @internal
24
24
  */
25
- export const createTestConfigProvider = (): ITestConfigProvider => {
26
- const settings: Record<string, ConfigTypes> = {};
25
+ export const createTestConfigProvider = (
26
+ defaults: Record<string, ConfigTypes> = {},
27
+ ): ITestConfigProvider => {
28
+ const settings: Record<string, ConfigTypes> = { ...defaults };
27
29
  return {
28
30
  getRawConfig: (name: string): ConfigTypes => settings[name],
29
31
  set: (key: string, value: ConfigTypes) => {
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/test-utils";
9
- export const pkgVersion = "2.0.0-rc.3.0.7";
9
+ export const pkgVersion = "2.0.0-rc.3.0.9";