issues Search Results · repo:Diokuz/teremock language:TypeScript
Filter by
11 results
(58 ms)11 results
inDiokuz/teremock (press backspace or delete to remove)Problem:
Application make request with two same headers with different values. Teremock create mock only for last of this
headers.
Solution:
Read headers from request.rawHeaders, join duplicates to ...
SuperOleg39
- Opened on May 14, 2021
- #39
As documentation says Sometimes it is more convenient to set mocks right in tests, without storing them to the file
system . But all other requests are unnecessary and written into filesystem. I propose ...
KhyzhniakAlex
- 1
- Opened on May 11, 2021
- #38
В плейврайт есть проблема: page.route и page.on( response ) не соотносятся 1 к 1, в частности редиректы попадают в on(
response ) но не попадает в page.route.
Воркераунд в виде интерцептора c pass: true ...
anru
- Opened on May 6, 2021
- #30
Сейчас интерцептор может содержать подстроку урла. Но иногда этого мало.
Не помешало бы добавить поддержку передачи функции, которая сама бы проверила url на необходимость прерывания. Подобное
поведение ...
anru
- Opened on Apr 30, 2021
- #27
Для понимания того, как сработали интерцепторы и возможсти вовремя добавить новые при необходимости, не помешает
фунциональность получить все урлы, которые так или иначе, не были перехвачены.
anru
- 1
- Opened on Apr 29, 2021
- #26
Not working spy:
teremock.spy({
url: getRequest ,
body: {
query: query ,
from: {
value: 1,
},
to: {
value: 2,
},
count: 20,
options: [
{
value: ...
levkovich2806
- 1
- Opened on Apr 1, 2021
- #21
I have POST requests that include the charset in the content-type header: content-type : application/json;charset=UTF-8
request-id.ts does not parse the body as JSON if the content-type is not exactly ...
sokki
- Opened on Nov 12, 2020
- #14
The case: mock a request, which have no applicationId query parameter.
Probably, teremock should support functional predicates, e.g.
const interceptor = {
url: example.com ,
predicate({ query, url ...
Diokuz
- 2
- Opened on Feb 18, 2020
- #4
Diokuz
- Opened on Feb 3, 2020
- #3
Diokuz
- 1
- Opened on Feb 3, 2020
- #2
![Issue origami icon](/images/modules/search/issues.png)
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.![Issue origami icon](/images/modules/search/issues.png)
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.