Add prettier

This commit is contained in:
Alex Dima 2020-09-02 17:44:31 +02:00
parent 1ca4a3a0aa
commit 3efc637414
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
156 changed files with 51562 additions and 37461 deletions

29
src/mocha.d.ts vendored
View file

@ -1,13 +1,16 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare function run(): void;
declare function suite(name: string, fn: (err?: any)=>void): void;
declare function test(name: string, fn: (done: (err?: any)=>void)=>void): void;
declare function suiteSetup(fn: (done: (err?: any)=>void)=>void): void;
declare function suiteTeardown(fn: (done: (err?: any)=>void)=>void): void;
declare function setup(fn: (done: (err?: any)=>void)=>void): void;
declare function teardown(fn: (done: (err?: any)=>void)=>void): void;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare function run(): void;
declare function suite(name: string, fn: (err?: any) => void): void;
declare function test(
name: string,
fn: (done: (err?: any) => void) => void
): void;
declare function suiteSetup(fn: (done: (err?: any) => void) => void): void;
declare function suiteTeardown(fn: (done: (err?: any) => void) => void): void;
declare function setup(fn: (done: (err?: any) => void) => void): void;
declare function teardown(fn: (done: (err?: any) => void) => void): void;