Back out "Upgrade Prettier from 1.17 to 2.0.2."

Differential Revision: D20639755

fbshipit-source-id: 5028563f9cf0527a30b4259daac50cdc03934bfd
This commit is contained in:
Michael Bolin
2020-03-24 21:35:58 -07:00
committed by Facebook GitHub Bot
parent 8658fca4dd
commit 37f0260116
25 changed files with 101 additions and 101 deletions

View File

@@ -64,7 +64,7 @@ test('TestIdler can be controlled', async () => {
expect(idler.shouldIdle()).toBe(true);
let threw = false;
const p = idler.idle().catch(e => {
const p = idler.idle().catch((e) => {
threw = true;
expect(e).toMatchInlineSnapshot(
`[CancelledPromiseError: Idler got killed]`,

View File

@@ -26,7 +26,7 @@ const storage = new JsonFileStorage(
test('A valid settings file gets parsed correctly', () => {
return storage
.getItem('anykey')
.then(result => expect(result).toEqual(validDeserializedData));
.then((result) => expect(result).toEqual(validDeserializedData));
});
test('deserialize works as expected', () => {