Skip to content

Conversation

@luozhihua
Copy link

@luozhihua luozhihua commented Oct 22, 2017

支持以下 mock 方式:

Mock.mock(/.json/, 'post', function() {
    return new Promise(function(resolve, reject) {
        setTimeout(function() {
            resolve(Mock.mock({
                name: "@cname"
            }))
        })
    })
})

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 53e0d21 on luozhihua:refactoring into ** on nuysoft:refactoring**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling d6ae91f on luozhihua:refactoring into ** on nuysoft:refactoring**.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants