@vendure/testing 1.4.7 → 1.5.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.
@@ -16,9 +16,9 @@ async function populateForTesting(config, bootstrapFn, options) {
16
16
  config.authOptions.requireVerification = false;
17
17
  const app = await bootstrapFn(config);
18
18
  const logFn = (message) => (logging ? console.log(message) : null);
19
- await cli_1.populateInitialData(app, options.initialData, logFn);
19
+ await cli_1.populateInitialData(app, options.initialData);
20
20
  await populateProducts(app, options.productsCsvPath, logging);
21
- await cli_1.populateCollections(app, options.initialData, logFn);
21
+ await cli_1.populateCollections(app, options.initialData);
22
22
  await populate_customers_1.populateCustomers(app, (_a = options.customerCount) !== null && _a !== void 0 ? _a : 10, logFn);
23
23
  config.authOptions.requireVerification = originalRequireVerification;
24
24
  return app;
@@ -1 +1 @@
1
- {"version":3,"file":"populate-for-testing.js","sourceRoot":"","sources":["../../src/data-population/populate-for-testing.ts"],"names":[],"mappings":";;;AAEA,yEAAmE;AAEnE,2CAAoG;AAIpG,6DAAyD;AAEzD,sCAAsC;AACtC;;GAEG;AACI,KAAK,UAAU,kBAAkB,CACpC,MAA+B,EAC/B,WAAkD,EAClD,OAA0B;;IAEzB,MAAM,CAAC,mBAA2B,CAAC,OAAO,GAAG,KAAK,CAAC;IACpD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACvE,MAAM,2BAA2B,GAAG,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC;IAC3E,MAAM,CAAC,WAAW,CAAC,mBAAmB,GAAG,KAAK,CAAC;IAE/C,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,CAAC;IAEtC,MAAM,KAAK,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,O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OAAO,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,kDAAkD,CAAC,CAAC;QAC7F,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;KACrD;IAED,IAAI,OAAO,EAAE;QACT,OAAO,CAAC,GAAG,CAAC,cAAc,YAAY,CAAC,QAAQ,WAAW,CAAC,CAAC;KAC/D;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/testing",
3
- "version": "1.4.7",
3
+ "version": "1.5.0",
4
4
  "description": "End-to-end testing tools for Vendure projects",
5
5
  "keywords": [
6
6
  "vendure",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@types/node-fetch": "^2.5.4",
37
- "@vendure/common": "^1.4.7",
37
+ "@vendure/common": "^1.5.0",
38
38
  "faker": "^4.1.0",
39
39
  "form-data": "^3.0.0",
40
40
  "graphql": "15.5.1",
@@ -45,11 +45,11 @@
45
45
  "devDependencies": {
46
46
  "@types/mysql": "^2.15.15",
47
47
  "@types/pg": "^7.14.5",
48
- "@vendure/core": "^1.4.7",
48
+ "@vendure/core": "^1.5.0",
49
49
  "mysql": "^2.18.1",
50
50
  "pg": "^8.4.0",
51
51
  "rimraf": "^3.0.0",
52
52
  "typescript": "4.3.5"
53
53
  },
54
- "gitHead": "a8e68227456fb5483f4ef4bfb9128f408d583221"
54
+ "gitHead": "50883deb6d02d4b5157abe6fb0c6a8e013ea56a2"
55
55
  }