system-testing 1.0.122 → 1.0.123

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +13 -1
package/README.md CHANGED
@@ -169,7 +169,7 @@ For local or CI web runs against Chrome, `npm run test:appium:web` now resolves
169
169
  `Browser` is the lower-level browser/session class behind `SystemTest`. Use it when you want driver-backed browsing, screenshots, logs, and HTML capture without the rest of the system-test bootstrapping.
170
170
 
171
171
  ```js
172
- import {Browser} from "system-testing/build/index.js"
172
+ import {Browser} from "system-testing"
173
173
 
174
174
  const browser = new Browser()
175
175
 
@@ -326,7 +326,7 @@ Minimal example:
326
326
 
327
327
  ```jsx
328
328
  import {Stack} from "expo-router"
329
- import {useSystemTestExpo} from "system-testing/build/expo.js"
329
+ import {useSystemTestExpo} from "system-testing/expo"
330
330
 
331
331
  export default function RootLayout() {
332
332
  const {enabled, systemTestBrowserHelper} = useSystemTestExpo({
package/package.json CHANGED
@@ -1,12 +1,24 @@
1
1
  {
2
2
  "name": "system-testing",
3
- "version": "1.0.122",
3
+ "version": "1.0.123",
4
4
  "description": "System testing with Selenium and browsers.",
5
5
  "bin": {
6
6
  "system-testing": "build/cli.js"
7
7
  },
8
8
  "main": "build/index.js",
9
9
  "types": "build/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./build/index.d.ts",
13
+ "default": "./build/index.js"
14
+ },
15
+ "./expo": {
16
+ "types": "./build/expo.d.ts",
17
+ "default": "./build/expo.js"
18
+ },
19
+ "./package.json": "./package.json",
20
+ "./build/*": "./build/*"
21
+ },
10
22
  "files": [
11
23
  "build/**"
12
24
  ],