# Snapshot report for `test/test.js`

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

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

## generates correct code with compact=true

> Snapshot 1

    'export var validKey=true;export var nested={subKey:"ok"};export var array=[1,"2"];export default{validKey:validKey,"invalid-key":1,nested:nested,array:array,"function":"not used","null":null};'

## generates correct code with namedExports=false

> Snapshot 1

    `export default {␊
    	validKey: true,␊
    	"invalid-key": 1,␊
    	nested: {␊
    		subKey: "ok"␊
    	},␊
    	array: [␊
    		1,␊
    		"2"␊
    	],␊
    	"function": "not used",␊
    	"null": null␊
    };`

## generates correct code with preferConst

> Snapshot 1

    `export const validKey = true;␊
    export const nested = {␊
    	subKey: "ok"␊
    };␊
    export const array = [␊
    	1,␊
    	"2"␊
    ];␊
    export default {␊
    	validKey: validKey,␊
    	"invalid-key": 1,␊
    	nested: nested,␊
    	array: array,␊
    	"function": "not used",␊
    	"null": null␊
    };␊
    `

## generates properly formatted code

> Snapshot 1

    `export var validKey = true;␊
    export var nested = {␊
    	subKey: "ok"␊
    };␊
    export var array = [␊
    	1,␊
    	"2"␊
    ];␊
    export default {␊
    	validKey: validKey,␊
    	"invalid-key": 1,␊
    	nested: nested,␊
    	array: array,␊
    	"function": "not used",␊
    	"null": null␊
    };␊
    `

## uses custom indent string

> Snapshot 1

    `export var validKey = true;␊
    export var nested = {␊
      subKey: "ok"␊
    };␊
    export var array = [␊
      1,␊
      "2"␊
    ];␊
    export default {␊
      validKey: validKey,␊
      "invalid-key": 1,␊
      nested: nested,␊
      array: array,␊
      "function": "not used",␊
      "null": null␊
    };␊
    `
