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
... | |
<Choose> | |
<When Condition=" '$(Configuration)'=='Test' "> | |
<ItemGroup> | |
<PackageReference Include="Moq" Version="4.8.1" /> | |
<PackageReference Include="xunit" Version="2.3.1" /> | |
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" /> | |
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" /> | |
</ItemGroup> | |
</When> |
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 "rxjs/add/operator/debounceTime"; | |
import "rxjs/add/operator/throttleTime"; | |
import { TestScheduler } from "jasmine-marbles/src/scheduler"; | |
import { Observable } from "rxjs/Observable"; | |
export class MarbleSchedulerInjector | |
{ | |
static inject(scheduler: TestScheduler, ...methods: (keyof Observable<any> | "all")[]) | |
{ | |
methods = methods || ["all"]; |
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
<PipeLaunchOptions xmlns="http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014" | |
PipePath="powershell" TargetArchitecture="x64" MIMode="clrdbg" | |
PipeArguments=" | |
-ExecutionPolicy Bypass | |
-File C:\kube\kubedbg.ps1 | |
-Selector app=mywebapp"> | |
<LaunchCompleteCommand>None</LaunchCompleteCommand> | |
</PipeLaunchOptions> |
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
param( | |
# the selector from your yml file | |
# selector: | |
# matchLabels: | |
# app: myweb | |
# -Selector app=myweb | |
[Parameter(Mandatory=$true)][string]$Selector | |
) | |
Write-Host '1. searching pod by selector:' $Selector '...'; |
NewerOlder