@nrwl/detox 15.6.2 → 15.6.3

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [15.6.2](https://github.com/nrwl/nx/compare/15.6.1...15.6.2) (2023-01-24)
6
+ ## [15.6.3](https://github.com/nrwl/nx/compare/15.6.2...15.6.3) (2023-01-27)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/detox
package/migrations.json CHANGED
@@ -183,6 +183,15 @@
183
183
  "alwaysAddToPackageJson": false
184
184
  }
185
185
  }
186
+ },
187
+ "15.6.2": {
188
+ "version": "15.6.2-beta.0",
189
+ "packages": {
190
+ "detox": {
191
+ "version": "20.1.1",
192
+ "alwaysAddToPackageJson": false
193
+ }
194
+ }
186
195
  }
187
196
  }
188
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/detox",
3
- "version": "15.6.2",
3
+ "version": "15.6.3",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
6
6
  "keywords": [
@@ -25,14 +25,14 @@
25
25
  "main": "index.js",
26
26
  "types": "index.d.ts",
27
27
  "dependencies": {
28
- "@nrwl/devkit": "15.6.2",
29
- "@nrwl/jest": "15.6.2",
30
- "@nrwl/linter": "15.6.2",
31
- "@nrwl/react": "15.6.2",
32
- "@nrwl/workspace": "15.6.2"
28
+ "@nrwl/devkit": "15.6.3",
29
+ "@nrwl/jest": "15.6.3",
30
+ "@nrwl/linter": "15.6.3",
31
+ "@nrwl/react": "15.6.3",
32
+ "@nrwl/workspace": "15.6.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "detox": "^20.0.3"
35
+ "detox": "^20.1.1"
36
36
  },
37
37
  "builders": "./executors.json",
38
38
  "ng-update": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "e15aa567d46eaccbed7c50ece2aa5e50d7374199"
46
+ "gitHead": "4a5a231a3eca0d648408941147be509cd827dd78"
47
47
  }
@@ -4,12 +4,12 @@
4
4
  "apps": {
5
5
  "ios.debug": {
6
6
  "type": "ios.app",
7
- "build": "cd <%= offsetFromRoot %><%= appRoot %>/ios && xcodebuild -workspace <%= appClassName %>.xcworkspace -scheme <%= appClassName %> -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13' -derivedDataPath ./build -quiet",
7
+ "build": "cd <%= offsetFromRoot %><%= appRoot %>/ios && xcodebuild -workspace <%= appClassName %>.xcworkspace -scheme <%= appClassName %> -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet",
8
8
  "binaryPath": "<%= offsetFromRoot %><%= appRoot %>/ios/build/Build/Products/Debug-iphonesimulator/<%= appClassName %>.app"
9
9
  },
10
10
  "ios.release": {
11
11
  "type": "ios.app",
12
- "build": "cd <%= offsetFromRoot %><%= appRoot %>/ios && xcodebuild -workspace <%= appClassName %>.xcworkspace -scheme <%= appClassName %> -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13' -derivedDataPath ./build -quiet",
12
+ "build": "cd <%= offsetFromRoot %><%= appRoot %>/ios && xcodebuild -workspace <%= appClassName %>.xcworkspace -scheme <%= appClassName %> -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet",
13
13
  "binaryPath": "<%= offsetFromRoot %><%= appRoot %>/ios/build/Build/Products/Release-iphonesimulator/<%= appClassName %>.app"
14
14
  },
15
15
  <% if (framework === 'expo') { %>
@@ -51,7 +51,7 @@
51
51
  "simulator": {
52
52
  "type": "ios.simulator",
53
53
  "device": {
54
- "type": "iPhone 13"
54
+ "type": "iPhone 14"
55
55
  }
56
56
  },
57
57
  "emulator": {
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "preset": "<%= offsetFromRoot %>jest.preset",
3
- "testEnvironment": "./environment",
4
- "testRunner": "jest-circus/runner",
5
3
  "testTimeout": 120000,
6
- "reporters": ["detox/runners/jest/streamlineReporter"],
4
+ "maxWorkers": 1,
5
+ "globalSetup": "detox/runners/jest/globalSetup",
6
+ "globalTeardown": "detox/runners/jest/globalTeardown",
7
+ "reporters": ["detox/runners/jest/reporter"],
8
+ "testEnvironment": "detox/runners/jest/testEnvironment",
9
+ "verbose": true,
7
10
  "setupFilesAfterEnv": ["<rootDir>/test-setup.ts"],
8
11
  "transform": {
9
12
  "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "@nrwl/react/plugins/jest",
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
- export declare const detoxVersion = "20.0.3";
2
+ export declare const detoxVersion = "20.1.1";
3
3
  export declare const testingLibraryJestDom = "5.16.5";
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.testingLibraryJestDom = exports.detoxVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.detoxVersion = '20.0.3';
5
+ exports.detoxVersion = '20.1.1';
6
6
  exports.testingLibraryJestDom = '5.16.5';
7
7
  //# sourceMappingURL=versions.js.map
@@ -1,24 +0,0 @@
1
- // setup from https://github.com/wix/Detox/blob/master/docs/Guide.Jest.md#e2eenvironmentjs
2
- const {
3
- DetoxCircusEnvironment,
4
- SpecReporter,
5
- WorkerAssignReporter,
6
- } = require('detox/runners/jest-circus');
7
-
8
- class CustomDetoxEnvironment extends DetoxCircusEnvironment {
9
- constructor(config, context) {
10
- super(config, context);
11
-
12
- // Can be safely removed, if you are content with the default value (=300000ms)
13
- this.initTimeout = 300000;
14
-
15
- // This takes care of generating status logs on a per-spec basis. By default, Jest only reports at file-level.
16
- // This is strictly optional.
17
- this.registerListeners({
18
- SpecReporter,
19
- WorkerAssignReporter,
20
- });
21
- }
22
- }
23
-
24
- module.exports = CustomDetoxEnvironment;