mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
Adding tests for DataResourceDataProvider (#11743)
* tests for getRow method * use suiteSetup * added more tests * revert changes to gridOutput.component.ts * mocked out services for DataResourceDataProvider * add test for serializeResults * change path to fsPath * fix param type and use fs promises * use async in startSerialization * mock ContextService
This commit is contained in:
@@ -225,7 +225,7 @@ class DataResourceTable extends GridTableBase<any> {
|
||||
}
|
||||
}
|
||||
|
||||
class DataResourceDataProvider implements IGridDataProvider {
|
||||
export class DataResourceDataProvider implements IGridDataProvider {
|
||||
private rows: ICellValue[][];
|
||||
constructor(source: IDataResource,
|
||||
private resultSet: ResultSetSummary,
|
||||
|
||||
Reference in New Issue
Block a user