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 { FormBuilder } from '@angular/forms'; | |
| import { of } from 'rxjs'; | |
| import { DemoComponent } from './demo.component'; | |
| describe('DemoComponent', () => { | |
| let component: DemoComponent; | |
| let mockDeviceFulfillmentService; | |
| const mockFormBuilder = new FormBuilder(); | |
| let mockActivatedRoute; | |
| let mockAlertToasterService; |
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
| FROM node:18 as node-build | |
| ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true | |
| # Install Google Chrome Stable and fonts | |
| # Note: this installs the necessary libs to make the browser work with Puppeteer. | |
| RUN apt-get update && apt-get install gnupg wget -y && \ | |
| wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \ | |
| sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \ | |
| apt-get update && \ |
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
| <content-section | |
| [csTitle]="title" | |
| [collapsible]="collapsible" | |
| [state]="state" | |
| [locked]="locked" | |
| [noButtons]="noButtons" | |
| [buttons]="_buttons" | |
| > | |
| <!-- Custom controls --> | |
| <ng-content></ng-content> |
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
| name: Nx Affected CI Linting/Tests/Build | |
| on: | |
| pull_request: | |
| branches: [master] | |
| env: | |
| NX_BRANCH: ${{ github.event.number }} | |
| NX_RUN_GROUP: ${{ github.run_id }} |
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 { waitForAsync } from '@angular/core/testing'; | |
| import { TailwindThemeService } from './tailwind-theme.service'; | |
| import { of, throwError } from 'rxjs'; | |
| import { TailwindThemeConfig } from '../tailwind-theme-config.class'; | |
| import * as mockTailwindUtilFunctions from '@workspace/shared/util'; | |
| describe('Shared Tailwind Theme Service', () => { | |
| let tailwindThemeService: TailwindThemeService; | |
| let mockConfig: TailwindThemeConfig = { |
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 { NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { TailwindThemeModule } from './tailwind-theme'; | |
| import { AppRoutingModule } from './app-routing.module'; | |
| import { AppComponent } from './app.component'; | |
| @NgModule({ | |
| declarations: [AppComponent], | |
| imports: [ |
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
| @NgModule({ | |
| imports: [ | |
| IconManagerModule.forRoot({ configUrl: './assets/icons/heroicons.json' }), | |
| ] | |
| }) | |
| export class AppModule {} |
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
| pdf_book: | |
| pandoc_args: --listings | |
| includes: | |
| in_header: preamble.tex |
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 { Injectable, Renderer2, Inject, RendererFactory2 } from '@angular/core'; | |
| import { DOCUMENT } from '@angular/common'; | |
| import { RuntimeConfigLoaderService } from 'runtime-config-loader'; | |
| import { Router, RouterEvent, NavigationEnd } from '@angular/router'; | |
| import { filter, tap } from 'rxjs/operators'; | |
| declare let gtag: Function; | |
| @Injectable({ | |
| providedIn: 'root', |
NewerOlder