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
declare namespace loadtest { | |
export function loadTest(options: LoadTestOptions, err: Function): void; | |
export interface LoadTestOptions { | |
url: string; | |
concurrency?: number; | |
maxRequests?: number; | |
maxSeconds?: number; | |
timeOut?: number; | |
cookies?: string[]; |
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
{ | |
"extends": "../tsconfig.json", | |
"compilerOptions": { | |
"baseUrl": ".", | |
"paths": { | |
"@utilities/*": ["./app/utilities/*"] | |
}, | |
"outDir": "../out-tsc/app", | |
"module": "es2015", | |
"types": [] |
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
{"lastUpload":"2020-02-10T09:19:05.383Z","extensionVersion":"v3.4.3"} |
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
# Staging | |
alias s="git status" | |
alias a="git add" | |
alias aa="git add --all" | |
# Commit | |
alias cim="git commit --message" | |
alias cima="git commit --all --message" | |
alias aac="git add --all && git commit --all --message" |
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 { ComponentFixture } from '@angular/core/testing'; | |
import { Predicate, DebugElement } from '@angular/core'; | |
import { ValueSetter } from '../company-create/company-create.component.spec.co'; | |
export class ComponentObject<T> { | |
constructor(private fixture: ComponentFixture<T>) {} | |
get componentInstance(): T { | |
return this.fixture.componentInstance; | |
} |
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
<template> | |
<div> | |
<p v-if="success" data-test="book-form--success"> | |
Successfully created new book. | |
</p> | |
<form novalidate @submit.prevent="submit"> | |
<p> | |
<label for="title">Title</label> | |
<input | |
type="text" |
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 { ConfigService } from '@leocloud/shared'; | |
import { DynamicModule, Inject, Module, OnApplicationBootstrap, OnApplicationShutdown } from '@nestjs/common'; | |
import { MongoMemoryServer } from 'mongodb-memory-server'; | |
import { connect, disconnect } from 'mongoose'; | |
import { Subject } from 'rxjs'; | |
const MONGO_DB_TESTING_COLLECTION_NAMES = 'MongoDbTestingCollectionNames'; | |
const mongoDbIsBootstrapped = new Subject<void>(); |
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
[user] | |
name = ... | |
email = ... | |
[core] | |
pager = delta | |
whitespace = cr-at-eol | |
quotepath = false | |
editor = code --wait | |
eol = lf |
OlderNewer