Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lightningjs/ui-components-test-utils

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/ui-components-test-utils - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

2

index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc