Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| /* jest.config.js */ | |
| moduleNameMapper: { | |
| '\\.svg$': '<rootDir>/src/app/__mocks__/svgr.ts', | |
| '\\.(jpg|jpeg|png)$': '<rootDir>/configs/jest/file.mock.js', | |
| '\\.css$': '<rootDir>/configs/jest/css.mock.js', | |
| '^~/(.*)$': '<rootDir>/src/$1', | |
| }, | |
| /* svgr.ts */ |
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
| const express = require( 'express' ); | |
| const APP = express(); | |
| const PORT = 5001; | |
| function allowCors( request, response, next ) { | |
| response.set( 'Access-Control-Allow-Origin', '*' ); | |
| next(); | |
| } |
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, OnInit, ComponentFactoryResolver, ViewContainerRef } from '@angular/core'; | |
| import { ChildComponent } from './child/child.component'; | |
| @Component( { | |
| selector: 'parent', | |
| templateUrl: './parent.component.html', | |
| entryComponents: [ ChildComponent ] | |
| } ) | |
| export class ParentComponent implements OnInit { |
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
| const puppeteer = require( 'puppeteer' ); | |
| describe( 'Test Suite', () => { | |
| let page; | |
| let browser; | |
| beforeAll( async () => { | |
| browser = await puppeteer.launch( { ignoreHTTPSErrors: true } ); |
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
| git branch -m old-name new-name | |
| git push origin -u new-name | |
| git push origin :old-name |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>My Title</title> | |
| <meta name="description" content="Basic HTML5 template"> | |
| <meta name="author" content="My Name"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Mocha and Chai Test</title> | |
| <meta name="description" content="Mocha and chai test template"> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/mocha/4.0.1/mocha.css" rel="stylesheet" /> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
| </head> | |
| <body> |