# Snapshot report for `test/test.js`

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

Generated by [AVA](https://ava.li).

## does not remove debugger statements with debugger: false

> Snapshot 1

    `export default function foo() {␊
      before();␊
      debugger;␊
      after();␊
    }␊
    `

## leaves console statements if custom functions are provided

> Snapshot 1

    `foo(123);␊
    console.error('b');␊
    bar(789);␊
    `

## only removes specified blocks

> Snapshot 1

    `before();␊
    first: {␊
      things();␊
    }␊
    after();␊
    again();␊
    `

## removes assert statements

> Snapshot 1

    `/* eslint-disable */␊
    function foo(message) {␊
      bar(message);␊
    }␊
    `

## removes console statements

> Snapshot 1

    `foo(123);␊
    bar(789);␊
    `

## removes custom functions

> Snapshot 1

    `a();␊
    b();␊
    c();␊
    `

## removes debugger statements

> Snapshot 1

    `export default function foo() {␊
      before();␊
      after();␊
    }␊
    `

## removes expressions in if blocks

> Snapshot 1

    `if (DEBUG) {␊
    }␊
    `

## removes labeled blocks

> Snapshot 1

    `before();␊
    unittest: {␊
      test('some test', (assert) => {␊
      });␊
    }␊
    after();␊
    `

## removes methods of this

> Snapshot 1

    `a();␊
    b();␊
    `

## removes multiple labeled blocks

> Snapshot 1

    `before();␊
    after();␊
    again();␊
    `

## removes super calls

> Snapshot 1

    `/* eslint-disable */␊
    class Foo {␊
      bar() {␊
        a();␊
        b();␊
      }␊
    }␊
    `

## replaces case body with void 0

> Snapshot 1

    `switch (a) {␊
      case 1:␊
        void 0;␊
    }␊
    `

## rewrtestes inline call expressions (not expression statements) as void 0

> Snapshot 1

    `DEBUG && void 0;␊
    `

## rewrtestes inline if expessions as void 0

> Snapshot 1

    `if (DEBUG) void 0;␊
    `

## rewrtestes inline while expressions as void 0

> Snapshot 1

    `while (test()) void 0;␊
    `

## supports object destructuring assignments with default values

> Snapshot 1

    `export function fn({ foo = void 0, bar } = {}) {␊
      const { baz = void 0 } = bar;␊
    }␊
    `
