@lightningjs/ui-components-test-utils
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -21,2 +21,2 @@ /** | ||
export * from './src/lightning-test-utils'; | ||
export * from './src/lng-test-env'; | ||
export * as LightningTestEnvironment from './src/lng-test-env'; |
@@ -21,2 +21,2 @@ /** | ||
export * from './src/lightning-test-utils'; | ||
export * from './src/lng-test-env'; | ||
export * as LightningTestEnvironment from './src/lng-test-env'; |
{ | ||
"name": "@lightningjs/ui-components-test-utils", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Helpful Jest unit test utilities for LightningJS applications utilizing the Lightning-UI-Components package.", | ||
@@ -14,2 +14,3 @@ "repository": { | ||
"import": "./index.js", | ||
"require": "./index.js", | ||
"types": "./index.d.ts" | ||
@@ -26,3 +27,3 @@ } | ||
"peerDependencies": { | ||
"@lightningjs/core": "^2.9.0" | ||
"@lightningjs/core": "^2.11.0" | ||
}, | ||
@@ -38,3 +39,3 @@ "devDependencies": { | ||
"dependencies": { | ||
"@lightningjs/ui-components": "^2.6.0" | ||
"@lightningjs/ui-components": "^2.9.0" | ||
}, | ||
@@ -41,0 +42,0 @@ "publishConfig": { |
@@ -20,2 +20,3 @@ /** | ||
import lng from '@lightningjs/core'; | ||
import type { context } from './lightning-test-utils'; | ||
@@ -68,5 +69,2 @@ export interface JSONTree { | ||
// TODO: no TS def for Context available | ||
type context = Record<string, unknown>; | ||
export type testRenderer = { | ||
@@ -104,3 +102,3 @@ toJSON: (children?: number) => JSONTree; | ||
export declare function create( | ||
Component: lng.Component, | ||
Component: lng.Element.PatchTemplate, | ||
options?: createOptions | ||
@@ -107,0 +105,0 @@ ): testRenderer; |
@@ -67,3 +67,3 @@ /** | ||
export type CreateComponent = ( | ||
config: Config, | ||
config?: Config, | ||
options?: Options | ||
@@ -70,0 +70,0 @@ ) => [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61437
764