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 { 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; | |
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 { 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; | |
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
const test1 = { | |
foo: eachLike({ | |
bar: ['a string'], | |
}), | |
}; | |
const test2 = { | |
foo: eachLike({ | |
bar: eachLike('a 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
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; |
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 { 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; |
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 { 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; |