Skip to content

Commit

Permalink
Add spec
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Apr 15, 2024
1 parent 513fa31 commit dfab566
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/datagrid/tests/src/datagrid.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
import { expect } from 'chai';

import { DataGrid } from '@lumino/datagrid';

describe('@lumino/datagrid', () => {
let datagrid: DataGrid;
beforeEach(() => {
datagrid = new DataGrid();
});
describe('DataGrid', () => {
describe('currentViewport()', () => {
it('should return the viewport', () => {
expect(datagrid.currentViewport).to.be.undefined;
});
});
});
});
1 change: 1 addition & 0 deletions packages/datagrid/tests/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

import './textrenderer.spec';
import './imagerenderer.spec';
import './datagrid.spec';

0 comments on commit dfab566

Please sign in to comment.