<commit_before>import { AfterViewInit, ChangeDetectorRef, Component, Injectable, OnInit, ViewChild } from '@angular/core';
import { async, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { BehaviorSubject, Observable } from 'rxjs';

import { DataType } from '../data-operations/data-util';
import { IForOfState} from '../directives/for-of/IForOfState';
import { IgxColumnComponent } from './column.component';
import { IgxGridComponent } from './grid.component';
import { IgxGridModule } from './index';

describe('IgxGrid - Grid initialization', () => {

    beforeEach(async(() => {
        TestBed.configureTestingModule({
            declarations: [
                GridMarkupDeclarationComponent,
                GridColumnsWidthComponent,
                GridAutogeneratedColumnsComponent,
                GridRemoteVirtualizationComponent
            ],
            imports: [
                NoopAnimationsModule,
                IgxGridModule.forRoot()
            ]
        })
        .compileComponents();
    }));

    it('should initialize a grid with columns from markup', () => {
        const fix = TestBed.createComponent(GridMarkupDeclarationComponent);<commit_msg>Setting correct path for IForOfState in grid.initialization.spec.ts<commit_after>import { AfterViewInit, ChangeDetectorRef, Component, Injectable, OnInit, ViewChild } from '@angular/core';
import { async, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { BehaviorSubject, Observable } from 'rxjs';

import { DataType } from '../data-operations/data-util';
import { IForOfState} from '../directives/for-of/for_of.directive';
import { IgxColumnComponent } from './column.component';
import { IgxGridComponent } from './grid.component';
import { IgxGridModule } from './index';

describe('IgxGrid - Grid initialization', () => {

    beforeEach(async(() => {
        TestBed.configureTestingModule({
            declarations: [
                GridMarkupDeclarationComponent,
                GridColumnsWidthComponent,
                GridAutogeneratedColumnsComponent,
                GridRemoteVirtualizationComponent
            ],
            imports: [
                NoopAnimationsModule,
                IgxGridModule.forRoot()
            ]
        })
        .compileComponents();
    }));

    it('should initialize a grid with columns from markup', () => {
        const fix = TestBed.createComponent(GridMarkupDeclarationComponent);
{'fraction_non_alphanumeric': 0.11377909124492058, 'fraction_numerical': 0.0, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5711953', 'n_tokens_mistral': 711, 'n_tokens_neox': 676, 'n_words': 153}