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

@elpassion/pagers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elpassion/pagers - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

lib/handles/text.input.handle/test.input.handle.d.ts

8

lib/handles/text.input.handle/index.d.ts

@@ -15,6 +15,6 @@ import { IInputHandle } from "../input.handle";

}
export declare class TextInputHandle implements ITextInputHandle {
static findByTestID(): Promise<TextInputHandle>;
static findByPlaceholder(): Promise<TextInputHandle>;
static findByLabel(): Promise<TextInputHandle>;
export declare class TextInputHandleBase implements ITextInputHandle {
static findByTestId(): Promise<TextInputHandleBase>;
static findByPlaceholder(): Promise<TextInputHandleBase>;
static findByLabel(): Promise<TextInputHandleBase>;
getValue(): Promise<string | null>;

@@ -21,0 +21,0 @@ getErrorMessage(): Promise<string | null>;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextInputHandle = void 0;
class TextInputHandle {
static async findByTestID() {
exports.TextInputHandleBase = void 0;
class TextInputHandleBase {
static async findByTestId() {
throw new Error("Method not implemented.");

@@ -55,3 +55,3 @@ }

}
exports.TextInputHandle = TextInputHandle;
exports.TextInputHandleBase = TextInputHandleBase;
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

import { TextInputHandle } from ".";
export declare class TestTextInputHandle extends TextInputHandle {
import { TextInputHandleBase } from ".";
export declare class TestTextInputHandle extends TextInputHandleBase {
private value;

@@ -4,0 +4,0 @@ private error;

@@ -5,3 +5,3 @@ "use strict";

const _1 = require(".");
class TestTextInputHandle extends _1.TextInputHandle {
class TestTextInputHandle extends _1.TextInputHandleBase {
constructor() {

@@ -8,0 +8,0 @@ super(...arguments);

@@ -7,6 +7,6 @@ "use strict";

const ava_1 = __importDefault(require("ava"));
const test_handle_1 = require("./test.handle");
const test_text_input_handle_1 = require("./test.text.input.handle");
const test = ava_1.default;
test.beforeEach((t) => {
t.context.handle = new test_handle_1.TestTextInputHandle();
t.context.handle = new test_text_input_handle_1.TestTextInputHandle();
});

@@ -13,0 +13,0 @@ test("implements basic behaviour", async (t) => {

{
"name": "@elpassion/pagers",
"version": "0.0.2",
"version": "0.0.3",
"description": "Reusable test helpers for interface testing",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -18,10 +18,10 @@ import { IInputHandle } from "../input.handle";

export class TextInputHandle implements ITextInputHandle {
static async findByTestID(): Promise<TextInputHandle> {
export class TextInputHandleBase implements ITextInputHandle {
static async findByTestId(): Promise<TextInputHandleBase> {
throw new Error("Method not implemented.");
}
static async findByPlaceholder(): Promise<TextInputHandle> {
static async findByPlaceholder(): Promise<TextInputHandleBase> {
throw new Error("Method not implemented.");
}
static async findByLabel(): Promise<TextInputHandle> {
static async findByLabel(): Promise<TextInputHandleBase> {
throw new Error("Method not implemented.");

@@ -28,0 +28,0 @@ }

import anyTest, { TestInterface } from "ava";
import { TestTextInputHandle } from "./test.handle";
import { TestTextInputHandle } from "./test.text.input.handle";

@@ -4,0 +4,0 @@ const test = anyTest as TestInterface<{ handle: TestTextInputHandle }>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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