Back out "Upgrade Prettier from 1.17 to 2.0.2."
Differential Revision: D20639755 fbshipit-source-id: 5028563f9cf0527a30b4259daac50cdc03934bfd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8658fca4dd
commit
37f0260116
@@ -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]`,
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user