Skip to content

Instantly share code, notes, and snippets.

View rorymcgit's full-sized avatar
💭
👹

Rory McGuinness rorymcgit

💭
👹
View GitHub Profile
import { ApiService } from './api.service';
import { HttpClientModule } from '@angular/common/http';
import { Matchers, PactWeb } from '@pact-foundation/pact-web';
import { TestBed } from '@angular/core/testing';
describe('PACT ApiService', () => {
let apiService: ApiService;
let provider: PactWeb;
import { ApiService } from './api.service';
import { HttpClientModule } from '@angular/common/http';
import { Matchers, PactWeb } from '@pact-foundation/pact-web';
import { TestBed } from '@angular/core/testing';
describe('PACT ApiService', () => {
let apiService: ApiService;
let provider: PactWeb;
const test1 = {
foo: eachLike({
bar: ['a string'],
}),
};
const test2 = {
foo: eachLike({
bar: eachLike('a string'),
}),
import { ApiService } from './api.service';
import { HttpClientModule } from '@angular/common/http';
import { Matchers, PactWeb } from '@pact-foundation/pact-web';
import { TestBed } from '@angular/core/testing';
describe('PACT ApiService', () => {
let apiService: ApiService;
let provider: PactWeb;
import { ApiService } from './api.service';
import { HttpClientModule } from '@angular/common/http';
import { Matchers, PactWeb } from '@pact-foundation/pact-web';
import { TestBed } from '@angular/core/testing';
describe('PACT ApiService', () => {
let apiService: ApiService;
let provider: PactWeb;
import { ApiService } from './api.service';
import { HttpClientModule } from '@angular/common/http';
import { Matchers, PactWeb } from '@pact-foundation/pact-web';
import { TestBed } from '@angular/core/testing';
describe('PACT ApiService', () => {
let apiService: ApiService;
let provider: PactWeb;