Cleanup from DT nightly run

1. A couple of updated project urls. (one typo and one https)
2. Possible bug in ts@next, or at least surprising behaviour. Work
around it in jest-in-case. TS bug #30234
This commit is contained in:
Nathan Shively-Sanders 2019-03-05 14:39:38 -08:00
parent bdb87d49e5
commit d26a3f72ae
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// Type definitions for Chart.js 2.7
// Project: https://github.com/nnnick/Chart.js, http://www.chartjs.org
// Project: https://github.com/nnnick/Chart.js, https://www.chartjs.org
// Definitions by: Alberto Nuti <https://github.com/anuti>
// Fabien Lavocat <https://github.com/FabienLavocat>
// KentarouTakeda <https://github.com/KentarouTakeda>

View File

@ -25,7 +25,7 @@ afterEach(() => {
test('array', () => {
const title = 'add(augend, addend)';
const tester = jest.fn(opts => {
const tester = jest.fn((opts, cb) => {
expect(add(opts.augend, opts.addend)).toBe(opts.total);
});
@ -59,7 +59,7 @@ test('object', () => {
const title = 'add(augend, addend)';
const tester = jest.fn(opts => {
const tester = jest.fn((opts, cb) => {
expect(subtract(opts.minuend, opts.subtrahend)).toBe(opts.difference);
});

View File

@ -1,5 +1,5 @@
// Type definitions for @storybook/addon-storyshots 3.4
// Project: https://github.com/storybooks/storybook/tree/master/addons/storyshots, https://github.com/storybooks/storybook/tree/master/addons/storyshorts/storyshots-core
// Project: https://github.com/storybooks/storybook/tree/master/addons/storyshots, https://github.com/storybooks/storybook/tree/master/addons/storyshots/storyshots-core
// Definitions by: Bradley Ayers <https://github.com/bradleyayers>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.1