Prettier: Upgrade to 2 (#30387)

* Updated package json but not updated source files

* Update eslint plugin

* updated files
This commit is contained in:
Torkel Ödegaard
2021-01-20 07:59:48 +01:00
committed by GitHub
parent f27450ed94
commit 1d689888b0
1069 changed files with 4370 additions and 5260 deletions
@@ -85,7 +85,7 @@ describe('toDataFrame', () => {
expect(frame).toEqual(array);
expect(frame instanceof ArrayDataFrame).toEqual(true);
expect(frame.length).toEqual(orig.length);
expect(frame.fields.map(f => f.name)).toEqual(['a', 'b']);
expect(frame.fields.map((f) => f.name)).toEqual(['a', 'b']);
});
it('throws when table rows is not array', () => {
@@ -276,7 +276,7 @@ describe('SeriesData backwards compatibility', () => {
expect(table.refId).toBe(series.refId);
expect(table.meta).toEqual(series.meta);
const names = table.columns.map(c => c.text);
const names = table.columns.map((c) => c.text);
expect(names).toEqual(['T', 'N', 'S']);
});