Expose agent on supertest and cookie methods on superagent

This commit is contained in:
John Purcell
2014-03-19 13:03:19 -04:00
parent 429cfd875e
commit ab5886b01f
3 changed files with 20 additions and 0 deletions
+2
View File
@@ -46,6 +46,8 @@ declare module "supertest" {
unsubscribe(url: string): Test;
patch(url: string): Test;
}
function agent(): superagent.Agent;
}
function supertest(app: any): supertest.SuperTest;