mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Adding mongoose-mock.d.ts
This commit is contained in:
parent
6847664647
commit
49a4ccc0ba
7
mongoose-mock/mongoose-mock-tests.ts
Normal file
7
mongoose-mock/mongoose-mock-tests.ts
Normal file
@ -0,0 +1,7 @@
|
||||
/// <reference path="../mongoose/mongoose.d.ts" />
|
||||
/// <reference path="mongoose-mock.d.ts" />
|
||||
|
||||
import mongooseMock = require('mongoose-mock');
|
||||
|
||||
// returns a mongoose object
|
||||
mongooseMock.connect('url');
|
||||
13
mongoose-mock/mongoose-mock.d.ts
vendored
Normal file
13
mongoose-mock/mongoose-mock.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// Type definitions for multer
|
||||
// Project: https://github.com/expressjs/multer
|
||||
// Definitions by: jt000 <https://github.com/jt000>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../mongoose/mongoose.d.ts" />
|
||||
|
||||
declare module "mongoose-mock" {
|
||||
import mongoose = require('mongoose');
|
||||
|
||||
var mock: mongoose.Mongoose;
|
||||
export = mock;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user