test: Convert fixtures to TS (#848)

This commit is contained in:
wolfy1339 2019-02-14 15:21:55 -05:00 committed by Gregor
parent 4bbf29c245
commit 067e26b4e6
4 changed files with 11 additions and 8 deletions

View File

@ -1,7 +0,0 @@
module.exports = app => {
app.log('loaded app')
app.on('issue_comment.created', context => {
context.log('Comment created')
})
}

9
test/fixtures/example.ts vendored Normal file
View File

@ -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')
})
}

View File

@ -1 +0,0 @@
module.exports = function () {}

2
test/fixtures/plugin/stub-plugin.ts vendored Normal file
View File

@ -0,0 +1,2 @@
// tslint:disable-next-line:no-empty
export = () => {}