function getInstanceTest() {
  (amplitude.getInstance(): AmplitudeClient);
  (amplitude.getInstance('name'): AmplitudeClient);

  // $FlowExpectedError: getInstance only accepts strings
  amplitude.getInstance(5);

  // $FlowExpectedError: getInstance only accepts strings
  amplitude.getInstance(new Date());
}
ALL THE TESTS START FROM HERE