v8/tools/turbolizer/test/source-resolver-test.ts
Sigurd Schneider 994dc1f249 [turbolizer] Enable even more tslint checks
- '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}
2019-01-12 15:47:35 +00:00

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);
});
});