This file contains hidden or 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
{ | |
// Config for IDE to reload | |
"compileOnSave": true, | |
"exclude": [ | |
// Specifies an array of filenames or patterns that should be skipped when resolving include. | |
// Default: | |
// ["node_modules", "bower_components", "jspm_packages"], plus the value of outDir if one is specified. | |
"**/*.spec.ts", | |
"node_modules" | |
], |
This file contains hidden or 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
$dark-primary-text: rgba(black, 0.87); | |
$dark-secondary-text: rgba(black, 0.54); | |
$dark-disabled-text: rgba(black, 0.38); | |
$dark-dividers: rgba(black, 0.12); | |
$dark-focused: rgba(black, 0.12); | |
$light-primary-text: white; | |
$light-secondary-text: rgba(white, 0.7); | |
$light-disabled-text: rgba(white, 0.5); | |
$light-dividers: rgba(white, 0.12); |
This file contains hidden or 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 { TestBed, inject } from '@angular/core/testing'; | |
import { HttpClientModule, HttpErrorResponse } from '@angular/common/http'; | |
import { HttpClientTestingModule, HttpTestingController, TestRequest } from '@angular/common/http/testing'; | |
import { Observable } from 'rxjs/Observable'; | |
import { IUser, IAuthData, HttpRequestOptions } from '../models/auth-models'; | |
import { SIGN_IN_DATA_MOCK, USER_DATA_MOCK, AUTH_HEADERS_MOCK, PROCESSED_AUTH_HEADERS_MOCK } from '../models/auth-data-stub'; | |
import { AuthService } from './auth.service'; |
This file contains hidden or 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 { | |
Component, forwardRef, Input, Output, EventEmitter, ElementRef, | |
trigger, state, animate, transition, style, keyframes | |
} from '@angular/core'; | |
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; | |
import { IWeekDay, WEEKDAYS, IMonth, MONTHS } from './datepicker.fixture'; | |
interface IDate { | |
dayWeekNumber?: number; |
This file contains hidden or 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 { ComponentFixture, TestBed, async } from '@angular/core/testing'; | |
import { Component, Input, Injectable } from '@angular/core'; | |
import { PolicyDirective } from './policy.directive'; | |
import { SettingsService } from '../../services/settings.service'; | |
@Component({ | |
selector: 'app-container-spec', | |
template: `<button [appPolicy]="settings"><p>Test</p></button>` | |
}) |