// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`a.js 1`] = `
====================================options=====================================
parsers: ["flow"]
printWidth: 80
                                                                                | printWidth
=====================================input======================================
/* @flow */

var geolocation = new Geolocation();
var id = geolocation.watchPosition(
  position => {
    var coords: Coordinates = position.coords;
    var accuracy: number = coords.accuracy;
  },
  e => {
    var message: string = e.message;
    switch (e.code) {
      case e.PERMISSION_DENIED:
      case e.POSITION_UNAVAILABLE:
      case e.TIMEOUT:
      default:
        break;
    }
  }
);
geolocation.clearWatch(id);

=====================================output=====================================
/* @flow */

var geolocation = new Geolocation();
var id = geolocation.watchPosition(
  position => {
    var coords: Coordinates = position.coords;
    var accuracy: number = coords.accuracy;
  },
  e => {
    var message: string = e.message;
    switch (e.code) {
      case e.PERMISSION_DENIED:
      case e.POSITION_UNAVAILABLE:
      case e.TIMEOUT:
      default:
        break;
    }
  }
);
geolocation.clearWatch(id);

================================================================================
`;
