994dc1f249
- 'let' instead of 'var', and prefer 'const' - Prefer for-of over indexed interation - Variable names should be 'camel-case' or all-caps snake-case. - Only one variable declaration per line Change-Id: I645dd2333d6d9a993f24c29121f5f156249f1b71 Notry: true Bug: v8:7327 Reviewed-on: https://chromium-review.googlesource.com/c/1405320 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#58761}
11 lines
306 B
TypeScript
11 lines
306 B
TypeScript
import { SourceResolver } from '../src/source-resolver';
|
|
import { expect } from 'chai';
|
|
import { describe, it } from 'mocha';
|
|
|
|
describe('SourceResolver', () => {
|
|
it('should be constructible', () => {
|
|
const a: SourceResolver = new SourceResolver();
|
|
expect(a.sources.length).to.equal(0);
|
|
});
|
|
});
|