New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@abstractest/core

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abstractest/core - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

target/dts/context.d.ts

15

package.json
{
"name": "@abstractest/core",
"version": "0.0.1",
"version": "0.1.0",
"description": "abstractest core utils",

@@ -26,8 +26,8 @@ "publishConfig": {

"scripts": {
"build": "concurrently 'npm:build:*'",
"build:esm": "node ../infra/scripts/build.cjs",
"build:cjs": "node ../infra/scripts/build.cjs --cjs",
"build": "concurrently --kill-others-on-fail 'npm:build:*'",
"build:esm": "node ../infra/scripts/build.mjs",
"build:cjs": "node ../infra/scripts/build.mjs --cjs",
"build:dts": "tsc --emitDeclarationOnly --skipLibCheck --outDir target/dts",
"build:docs": "typedoc --options src/main/typedoc",
"test": "concurrently 'npm:test:*'",
"test": "concurrently --kill-others-on-fail 'npm:test:*'",
"test:lint": "eslint -c src/test/lint/.eslintrc.json src",

@@ -53,7 +53,10 @@ "test:unit": "c8 -r lcov -r text -o target/coverage -x src/test -x target node --loader ts-node/esm --experimental-specifier-resolution=node --experimental-vm-modules ../infra/scripts/test.mjs"

"homepage": "https://github.com/antongolub/abstractest#readme",
"dependencies": {
"@abstractest/types": "0.0.0"
},
"devDependencies": {
"@abstractest/infra": "workspace:*",
"@types/node": "^20.2.5",
"@types/node": "^20.2.6",
"ts-node": "^10.9.1"
}
}

1

target/dts/api.d.ts

@@ -9,1 +9,2 @@ import { Describe, It, Expect, Hook } from './interface';

export declare const afterEach: Hook;
export declare const init: () => Promise<void>;
export * from './api';
export * from './context';
export * from './interface';
export * from './runner';
export * from './util';

@@ -1,38 +0,1 @@

export type Done = (result?: any) => void;
export type TestFn = (done: Done) => void | Promise<void>;
export type Test = (name: string, fn?: TestFn) => void;
export type It = Test & {
only: Test;
skip: Test;
todo: Test;
};
export type SuiteFn = (done: Done) => void;
export type DescribeSuite = (name: string, fn?: SuiteFn) => void;
export type Describe = DescribeSuite & {
only: DescribeSuite;
skip: DescribeSuite;
todo: DescribeSuite;
};
export type HookFn = (done: Done) => any;
export type Hook = (fn: HookFn) => void | Promise<void>;
export type TestApi = {
describe: Describe;
it: It;
expect: Expect;
before: Hook;
beforeEach: Hook;
after: Hook;
afterEach: Hook;
};
export type Run = (opts: {
cwd: string;
include: string[];
}) => Promise<any>;
export type Runner = {
name: string;
run: Run;
api: TestApi;
};
export type Expect = (val: any) => {
toEqual(val: any): void;
};
export * from '@abstractest/types';

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