Add working Jest & TypeScript config
- Jest now uses ts-jest for transforms - TypeScript compilation via `lerna run tsc`
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
// const github = require('..');
|
||||
|
||||
describe('@actions/github', () => {
|
||||
it('needs tests', () => {
|
||||
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
import { github } from '../src/github';
|
||||
|
||||
describe('@actions/github', () => {
|
||||
it('needs tests', () => {
|
||||
expect(github()).toBe(true)
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user