fix(benchmarks): fix method name in targetable spec
This commit is contained in:
parent
bf60418fdc
commit
aa2d3372a5
@ -13,32 +13,32 @@ describe('largetable benchmark spec', () => {
|
|||||||
afterEach(verifyNoBrowserErrors);
|
afterEach(verifyNoBrowserErrors);
|
||||||
|
|
||||||
it('should work for ng2', () => {
|
it('should work for ng2', () => {
|
||||||
testTreeBenchmark({
|
testTableBenchmark({
|
||||||
url: 'all/benchmarks/src/largetable/ng2/index.html',
|
url: 'all/benchmarks/src/largetable/ng2/index.html',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for ng2 switch', () => {
|
it('should work for ng2 switch', () => {
|
||||||
testTreeBenchmark({
|
testTableBenchmark({
|
||||||
url: 'all/benchmarks/src/largetable/ng2_switch/index.html',
|
url: 'all/benchmarks/src/largetable/ng2_switch/index.html',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for the baseline', () => {
|
it('should work for the baseline', () => {
|
||||||
testTreeBenchmark({
|
testTableBenchmark({
|
||||||
url: 'all/benchmarks/src/largetable/baseline/index.html',
|
url: 'all/benchmarks/src/largetable/baseline/index.html',
|
||||||
ignoreBrowserSynchronization: true,
|
ignoreBrowserSynchronization: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for the incremental-dom', () => {
|
it('should work for the incremental-dom', () => {
|
||||||
testTreeBenchmark({
|
testTableBenchmark({
|
||||||
url: 'all/benchmarks/src/largetable/incremental_dom/index.html',
|
url: 'all/benchmarks/src/largetable/incremental_dom/index.html',
|
||||||
ignoreBrowserSynchronization: true,
|
ignoreBrowserSynchronization: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function testTreeBenchmark(openConfig: {url: string, ignoreBrowserSynchronization?: boolean}) {
|
function testTableBenchmark(openConfig: {url: string, ignoreBrowserSynchronization?: boolean}) {
|
||||||
openBrowser({
|
openBrowser({
|
||||||
url: openConfig.url,
|
url: openConfig.url,
|
||||||
ignoreBrowserSynchronization: openConfig.ignoreBrowserSynchronization,
|
ignoreBrowserSynchronization: openConfig.ignoreBrowserSynchronization,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user