You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
/* global describe, it */'use strict';constrequest=require('supertest');constapp=require('./app.js');varpath=require('path');constReplay=require('replay');Replay.fixtures=__dirname+'/fixtures/replay';// -> All localhost request are ignored :/ RegEx would workReplay.passThrough('/hammer/*');describe('Version test',function(){this.timeout(0);it('test version',function(done){request(app).get('/hammer/version').expect(200,{url: "http://www.foobar.org",version: '0.1.0'}).end(function(err,res){if(err)returndone(err);done();});});});
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to record a 'request' call in my app which is a 'localhost' service:
app.js:
test.js:
The text was updated successfully, but these errors were encountered: