forked from mirrors/probot
test: Convert fixtures to TS (#848)
This commit is contained in:
parent
4bbf29c245
commit
067e26b4e6
|
@ -1,7 +0,0 @@
|
|||
module.exports = app => {
|
||||
app.log('loaded app')
|
||||
|
||||
app.on('issue_comment.created', context => {
|
||||
context.log('Comment created')
|
||||
})
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
import { Application } from '../../src/application'
|
||||
|
||||
export = (app: Application) => {
|
||||
app.log('loaded app')
|
||||
|
||||
app.on('issue_comment.created', async context => {
|
||||
context.log('Comment created')
|
||||
})
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
module.exports = function () {}
|
|
@ -0,0 +1,2 @@
|
|||
// tslint:disable-next-line:no-empty
|
||||
export = () => {}
|
Loading…
Reference in New Issue