<commit_before>import { Component } from '@angular/core';
import { async, TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs/Observable';
import { By } from '@angular/platform-browser';

import { ScrollToModule } from './scroll-to.module';
import { ScrollToDirective } from './scroll-to.directive';

describe('ScrollToDirective', () => {

	beforeEach(async(() => {

		TestBed
			.configureTestingModule({
				imports: [
					ScrollToModule.forRoot()
				],
				declarations: [
					ScrollToTestComponent
				]
			})
			.compileComponents();
	}));

	it('should be created', () => {
		const fixture = TestBed.createComponent(ScrollToTestComponent);
		const directive = fixture.debugElement.query(By.directive(ScrollToDirective));
		expect(directive).toBeTruthy();
	});

});

@Component({
	selector: 'ngx-scroll-to',
	template: `
		<div [ngx-scroll-to]="'destination'">Go to destination</div>
		<div id="destination">You've reached your destination</div>
	`
})
export class ScrollToTestComponent {

}
<commit_msg>Trigger Test<commit_after>import { Component } from '@angular/core';
import { async, TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs/Observable';
import { By } from '@angular/platform-browser';

import { ScrollToModule } from './scroll-to.module';
import { ScrollToDirective } from './scroll-to.directive';

describe('ScrollToDirective', () => {

	beforeEach(async(() => {

		TestBed
			.configureTestingModule({
				imports: [
					ScrollToModule.forRoot()
				],
				declarations: [
					ScrollToTestComponent
				]
			})
			.compileComponents();
	}));

	it('should be created', () => {
		const fixture = TestBed.createComponent(ScrollToTestComponent);
		const directive = fixture.debugElement.query(By.directive(ScrollToDirective));
		expect(directive).toBeTruthy();
	});

});

@Component({
	selector: 'ngx-scroll-to',
	template: `
		<div [ngx-scroll-to]="'destination'">Go to destination</div>
		<div id="destination">You've reached your destination</div>
	`
})
export class ScrollToTestComponent {

	constructor() {

	}
}

{'fraction_non_alphanumeric': 0.15930902111324377, 'fraction_numerical': 0.0, 'mean_word_length': 4.515873015873016, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6792367', 'n_tokens_mistral': 733, 'n_tokens_neox': 638, 'n_words': 122}