tsdom
Version:
Fast, lightweight JavaScript DOM manipulation utility
39 lines (31 loc) • 730 B
text/typescript
import 'mocha';
import * as sinon from 'sinon';
import { expect } from 'chai';
/* -----------------------------------
*
* Subject
*
* -------------------------------- */
import tsdom from '../src/index';
/* -----------------------------------
*
* Tabs
*
* -------------------------------- */
describe('tsdom:selector', () => {
let sandbox: sinon.SinonSandbox;
/*
* ID
*/
describe('(qry = #id)', () => {
beforeEach(() => {
sandbox = sinon.sandbox.create();
});
afterEach(() => {
sandbox.restore();
});
it('calls getElementById() with qry value', () => {
expect(true).to.equal(true);
});
});
});