feat(benchmarks): add detectChanges
test for ng2 tree benchmark
This commit is contained in:
@ -19,6 +19,13 @@ describe('tree benchmark spec', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should work for ng2 detect changes', () => {
|
||||
let params = [{name: 'depth', value: 4}];
|
||||
openBrowser({url: 'all/benchmarks/src/tree/ng2/index.html'});
|
||||
$('#detectChanges').click();
|
||||
expect($('#numberOfChecks').getText()).toContain('10');
|
||||
});
|
||||
|
||||
it('should work for ng2 ftl', () => {
|
||||
testTreeBenchmark({
|
||||
url: 'all/benchmarks/src/tree/ng2_ftl/index.html',
|
||||
|
Reference in New Issue
Block a user