Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@@ -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']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user