mirror of https://github.com/lukechilds/ow.git
31 changed files with 34 additions and 30 deletions
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
import {createAnyError} from './fixtures/create-error'; |
import {createAnyError} from './fixtures/create-error'; |
||||
|
|
||||
test('any', t => { |
test('any', t => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('arrayBuffer', t => { |
test('arrayBuffer', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('array', t => { |
test('array', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('boolean', t => { |
test('boolean', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('buffer', t => { |
test('buffer', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('dataView', t => { |
test('dataView', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('date', t => { |
test('date', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
class CustomError extends Error { |
class CustomError extends Error { |
||||
constructor(message: string) { |
constructor(message: string) { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('function', t => { |
test('function', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
import {createAnyError} from './fixtures/create-error'; |
import {createAnyError} from './fixtures/create-error'; |
||||
|
|
||||
test('infer label', t => { |
test('infer label', t => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('iterable', t => { |
test('iterable', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('map', t => { |
test('map', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('nan', t => { |
test('nan', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('nullOrUndefined', t => { |
test('nullOrUndefined', t => { |
||||
// tslint:disable-next-line no-null-keyword
|
// tslint:disable-next-line no-null-keyword
|
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('null', t => { |
test('null', t => { |
||||
// tslint:disable-next-line no-null-keyword
|
// tslint:disable-next-line no-null-keyword
|
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('number', t => { |
test('number', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
class Unicorn {} // tslint:disable-line
|
class Unicorn {} // tslint:disable-line
|
||||
|
|
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('optional', t => { |
test('optional', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('promise', t => { |
test('promise', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('regExp', t => { |
test('regExp', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('set', t => { |
test('set', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('string', t => { |
test('string', t => { |
||||
const bar: any = 12; |
const bar: any = 12; |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('symbol', t => { |
test('symbol', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
import {createAnyError} from './fixtures/create-error'; |
import {createAnyError} from './fixtures/create-error'; |
||||
|
|
||||
test('not', t => { |
test('not', t => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('typedArray', t => { |
test('typedArray', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('undefined', t => { |
test('undefined', t => { |
||||
const x = undefined; |
const x = undefined; |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
test('weakMap', t => { |
test('weakMap', t => { |
||||
t.notThrows(() => { |
t.notThrows(() => { |
@ -1,5 +1,5 @@ |
|||||
import test from 'ava'; |
import test from 'ava'; |
||||
import ow from '..'; |
import ow from '../source'; |
||||
|
|
||||
const unicorn = {unicorn: '🦄'}; |
const unicorn = {unicorn: '🦄'}; |
||||
const rainbow = {rainbow: '🌈'}; |
const rainbow = {rainbow: '🌈'}; |
Loading…
Reference in new issue