Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.31 KB

test.js.md

File metadata and controls

59 lines (44 loc) · 1.31 KB

Snapshot report for test/assertions/test.js

The actual snapshot is saved in test.js.snap.

Generated by AVA.

happy path

Snapshot 1

[
  't.assert(1) passes',
  't.deepEqual({"foo":"bar"}, {"foo":"bar"}) passes',
  't.false(false) passes',
  't.falsy("") passes',
  't.is(1, 1) passes',
  't.like({"foo":"bar","deep":{"buz":"qux","extra":"irrelevant"},"extra":"irrelevant","deepExtra":{"extra":"irrelevant"}}, {"foo":"bar","deep":{"buz":"qux"}}) passes',
  't.not(1, 2) passes',
  't.notDeepEqual({"foo":"bar"}, {"foo":"baz"}) passes',
  't.notRegex("bar", {}) passes',
  't.notThrows() passes',
  't.notThrowsAsync() passes',
  't.pass() passes',
  't.regex("foo", {}) passes',
  't.snapshot({"foo":"bar"}) passes',
  't.throws() passes',
  't.throwsAsync() passes',
  't.true(true) passes',
  't.truthy(1) passes',
  't.unorderedEqual([1,2,3], [2,3,1]) passes',
]

throws requires native errors

passed tests

[
  'throws native error',
]

failed tests

[
  'throws object that extends the error prototype',
]

throwsAsync requires native errors

passed tests

[
  'throws native error',
]

failed tests

[
  'throws object that extends the error prototype',
]