This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Manrope' rel='stylesheet'> | |
<link rel="shortcut icon" type="image/png" | |
href="https://yt3.ggpht.com/ej3kSN0C9GiHS5wa2zNQ3Pd59UcnpFeYjnGGBJEub1Nagwl6vpoe21oIJKWjBjzqvHDYtUONCw=s68-c-k-c0x00ffffff-no-rj" /> | |
{%- auth0:head -%} | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const middlewares = []; | |
const mockStoreFactory = configureStore(middlewares); | |
const store = mockStoreFactory([]); | |
let discoverAssetsComponent: DashboardDiscoverAssetsWidgetComponent; | |
describe('select_actions', () => { | |
beforeEach(() => { | |
TestBed.configureTestingModule({ | |
imports: [... ], | |
providers: [... ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
fixture = TestBed.createComponent(DatatableFiltersComponent); // component preprerations | |
component = fixture.debugElement.componentInstance; | |
component.filterOptions = createFilterOptions(); | |
component.filtersState = []; | |
}); | |
it('should create pill', async () => { // checking the simplest behaviour | |
const filterValue = ["a"]; | |
const demoFilter = createFilter(EXAMPLE_FILTER_NAME, filterValue); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AppComponent } from './app.component'; | |
describe('AppComponent', () => { | |
let appComponent = new AppComponent(); | |
it('should create the app', () => { | |
const app = appComponent; | |
expect(app).toBeTruthy(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('LoginComponent', () => { | |
let component: LoginComponent; | |
let fixture: ComponentFixture<LoginComponent>; | |
beforeEach(async(() => { | |
TestBed.configureTestingModule({ | |
declarations: [ LoginComponent ] | |
}) | |
.compileComponents(); | |
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Presets reducer', () => { | |
let state: PresetsState; | |
let newState: PresetsState; | |
beforeEach(() => { | |
state = presetsInitialState; | |
newState = undefined; | |
}); | |
it('should change track data', () => { |