twd-js 1.7.0 → 1.7.2

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/dist/bundled.d.ts CHANGED
@@ -9,6 +9,7 @@ interface InitTWDOptions {
9
9
  serviceWorkerUrl?: string;
10
10
  theme?: Partial<TWDTheme>;
11
11
  search?: boolean;
12
+ rootSelector?: string;
12
13
  }
13
14
  /**
14
15
  * Initialize TWD with tests and optional configuration
@@ -28,6 +29,8 @@ interface InitTWDOptions {
28
29
  * initTWD(testModules, { open: true, position: 'left', serviceWorker: true, serviceWorkerUrl: '/mock-sw.js' });
29
30
  * @example
30
31
  * initTWD(testModules, { open: true, position: 'left', theme: { primary: '#ff0000', background: '#ffffff' } });
32
+ * @example
33
+ * initTWD(testModules, { rootSelector: '#my-app' });
31
34
  */
32
35
  export declare const initTWD: (files: TestModule, options?: InitTWDOptions) => void;
33
36
  export {};