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

ava-fixture

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ava-fixture - npm Package Compare versions

Comparing version

to
0.11.0

4

dist/es2015/curryMatch.d.ts

@@ -1,2 +0,2 @@

import { ContextualTestContext } from 'ava';
export declare function curryMatch(baselinePath: string, resultPath: string, t: ContextualTestContext): () => any;
import { Context, TestContext } from 'ava';
export declare function curryMatch(baselinePath: string, resultPath: string, t: TestContext & Context<any>): () => any;

@@ -12,2 +12,4 @@ import { getLogger } from 'aurelia-logging';

if (!existsSync(baselinePath)) {
// TODO
// Copy from result folder to baseline folder to start as a baseline
}

@@ -14,0 +16,0 @@ return compare(baselinePath, resultPath)

@@ -1,2 +0,2 @@

import { ContextualTestContext, Observable } from 'ava';
import { TestContext, Context, Observable } from 'ava';
export interface ContextualDiffContext {

@@ -32,6 +32,6 @@ /**

*/
export declare type FixtureContextualTest = (t: ContextualTestContext, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineTest = (t: ContextualTestContext, d: ContextualBaselineDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualEachTest = (t: ContextualTestContext, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineEachTest = (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualTest<T = any> = (t: TestContext & Context<T>, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineTest<T = any> = (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualEachTest<T = any> = (t: TestContext & Context<T>, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineEachTest<T = any> = (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
/**

@@ -44,3 +44,3 @@ * Runs a fixture test.

*/
export declare function fixtureTest(title: string, caseName: string, run: FixtureContextualTest): void;
export declare function fixtureTest<T = any>(title: string, caseName: string, run: FixtureContextualTest<T>): void;
/**

@@ -51,43 +51,43 @@ * Runs a fixture test.

*/
export declare function fixtureTest(caseName: string, run: FixtureContextualTest): void;
export declare function fixtureTest<T = any>(caseName: string, run: FixtureContextualTest<T>): void;
export declare namespace fixtureTest {
function todo(title: string): void;
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.failing {
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.only {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.only.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace fixtureTest.skip {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.skip.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace fixtureTest.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}

@@ -101,3 +101,3 @@ /**

*/
export declare function baselineTest(title: string, caseName: string, run: FixtureContextualBaselineTest): void;
export declare function baselineTest<T = any>(title: string, caseName: string, run: FixtureContextualBaselineTest<T>): void;
/**

@@ -108,43 +108,43 @@ * Runs a fixture test.

*/
export declare function baselineTest(caseName: string, run: FixtureContextualBaselineTest): void;
export declare function baselineTest<T = any>(caseName: string, run: FixtureContextualBaselineTest<T>): void;
export declare namespace baselineTest {
function todo(title: string): void;
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.failing {
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
}
export declare namespace baselineTest.only {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.only.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.skip {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.skip.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}

@@ -1,2 +0,2 @@

import { ContextualTestContext } from 'ava';
export declare function curryMatch(baselinePath: string, resultPath: string, t: ContextualTestContext): () => any;
import { Context, TestContext } from 'ava';
export declare function curryMatch(baselinePath: string, resultPath: string, t: TestContext & Context<any>): () => any;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var aurelia_logging_1 = require("aurelia-logging");

@@ -13,2 +14,4 @@ var dir_compare_1 = require("dir-compare");

if (!fs_1.existsSync(baselinePath)) {
// TODO
// Copy from result folder to baseline folder to start as a baseline
}

@@ -15,0 +18,0 @@ return dir_compare_1.compare(baselinePath, resultPath)

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var fs_1 = require("fs");

@@ -3,0 +4,0 @@ var path_1 = require("path");

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

}
Object.defineProperty(exports, "__esModule", { value: true });
var fixture_1 = require("./fixture");
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = fixture_1.fixture;

@@ -9,0 +9,0 @@ __export(require("./interfaces"));

@@ -1,2 +0,2 @@

import { ContextualTestContext, Observable } from 'ava';
import { TestContext, Context, Observable } from 'ava';
export interface ContextualDiffContext {

@@ -32,6 +32,6 @@ /**

*/
export declare type FixtureContextualTest = (t: ContextualTestContext, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineTest = (t: ContextualTestContext, d: ContextualBaselineDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualEachTest = (t: ContextualTestContext, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineEachTest = (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualTest<T = any> = (t: TestContext & Context<T>, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineTest<T = any> = (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualEachTest<T = any> = (t: TestContext & Context<T>, d: ContextualDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
export declare type FixtureContextualBaselineEachTest<T = any> = (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => PromiseLike<any> | Iterator<any> | Observable | void;
/**

@@ -44,3 +44,3 @@ * Runs a fixture test.

*/
export declare function fixtureTest(title: string, caseName: string, run: FixtureContextualTest): void;
export declare function fixtureTest<T = any>(title: string, caseName: string, run: FixtureContextualTest<T>): void;
/**

@@ -51,43 +51,43 @@ * Runs a fixture test.

*/
export declare function fixtureTest(caseName: string, run: FixtureContextualTest): void;
export declare function fixtureTest<T = any>(caseName: string, run: FixtureContextualTest<T>): void;
export declare namespace fixtureTest {
function todo(title: string): void;
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.failing {
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.only {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.only.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace fixtureTest.skip {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}
export declare namespace fixtureTest.skip.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace fixtureTest.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualDiffContext) => any): void;
}

@@ -101,3 +101,3 @@ /**

*/
export declare function baselineTest(title: string, caseName: string, run: FixtureContextualBaselineTest): void;
export declare function baselineTest<T = any>(title: string, caseName: string, run: FixtureContextualBaselineTest<T>): void;
/**

@@ -108,43 +108,43 @@ * Runs a fixture test.

*/
export declare function baselineTest(caseName: string, run: FixtureContextualBaselineTest): void;
export declare function baselineTest<T = any>(caseName: string, run: FixtureContextualBaselineTest<T>): void;
export declare namespace baselineTest {
function todo(title: string): void;
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.failing {
function only(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function skip(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function only<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function skip<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
}
export declare namespace baselineTest.only {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.only.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.skip {
function failing(title: string, caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function failing(caseName: string, run: (t: ContextualTestContext, d: ContextualBaselineDiffContext) => any): void;
function each(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function each(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(title: string, caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function failing<T = any>(caseName: string, run: (t: TestContext & Context<T>, d: ContextualBaselineDiffContext) => any): void;
function each<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function each<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.skip.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
export declare namespace baselineTest.each {
function failing(filter: string | RegExp, run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing(run: (t: ContextualTestContext, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(filter: string | RegExp, run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
function failing<T = any>(run: (t: TestContext & Context<T>, d: ContextualBaselineEachDiffContext) => any): void;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var fixtureTest;

@@ -3,0 +4,0 @@ (function (fixtureTest) {

{
"name": "ava-fixture",
"description": "Write fixture tests with ava",
"version": "0.10.1",
"version": "0.11.0",
"main": "dist/es5/index.js",

@@ -15,5 +15,2 @@ "module": "dist/es2015/index.js",

"build-es2015": "tsc -p tsconfig.es2015.json",
"_bundle": "npm run bundle-rollup && npm run bundle-webpack",
"_bundle-rollup": "rollup --config rollup.config.es2015.js",
"_bundle-webpack": "webpack --config webpack.config.es5.js",
"clean": "rimraf dist",

@@ -24,7 +21,6 @@ "coverage": "nyc --check-coverage --branches 85 --functions 85 --lines 85 npm test",

"dependency-check": "dependency-check . --unused --no-dev -i ava && dependency-check . --missing --no-dev",
"lint": "tslint \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json --type-check \"src/**/*.ts\"",
"postpublish": "git push",
"prepare": "npm run build",
"preversion": "git pull && npm run verify",
"_preversion": "git pull && npm run verify && git add -f dist/ava-fixture*",
"test": "rimraf dist-spec && tsc && ava",

@@ -75,40 +71,28 @@ "verify": "npm run lint && npm run coverage && npm run build && npm run dependency-check",

"aurelia-logging": ">=1.2.0",
"ava": ">=0.17.0"
"ava": ">=0.20"
},
"devDependencies": {
"@types/mkdirp": "^0.3.29",
"@types/node": "^7.0.4",
"assert-order": "^2.2.5",
"aurelia-logging": "^1.2.0",
"aurelia-logging-color": "^0.5.1",
"aurelia-polyfills": "^1.1.1",
"ava": "^0.17.0",
"bluebird": "^3.4.7",
"browser-env": "^2.0.19",
"@types/mkdirp": "^0.5.0",
"@types/node": "^8.0.15",
"assert-order": "^2.3.1",
"aurelia-logging": "^1.3.1",
"aurelia-logging-color": "^0.5.5",
"aurelia-polyfills": "^1.2.2",
"ava": "^0.21.0",
"bluebird": "^3.5.0",
"browser-env": "^3.0.0",
"core-js": "^2.4.1",
"dependency-check": "^2.7.0",
"eslint": "^3.13.1",
"dependency-check": "^2.9.1",
"eslint": "^4.1.1",
"eslint-config-unional": "^0.2.3",
"mkdirp": "^0.5.1",
"nyc": "^10.0.0",
"param-case": "^2.1.0",
"pascal-case": "^2.0.0",
"rimraf": "^2.5.4",
"rollup": "^0.41.4",
"rollup-plugin-commonjs": "^8.0.0",
"rollup-plugin-node-builtins": "^2.0.0",
"rollup-plugin-node-globals": "^1.1.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.1",
"rollup-plugin-uglify": "^1.0.1",
"source-map-loader": "^0.1.6",
"tslint": "^4.3.1",
"tslint-config-unional": "^0.7.0",
"typescript": "^2.1.5",
"uglify-js": "github:mishoo/UglifyJS2#harmony",
"webpack": "^2.2.0-rc.4"
"nyc": "^11.0.3",
"rimraf": "^2.6.1",
"tslint": "^5.4.3",
"tslint-config-unional": "^0.8.0",
"typescript": "^2.4.1"
},
"dependencies": {
"dir-compare": "^1.3.0"
"dir-compare": "^1.4.0"
}
}

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

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