Skip to content

Commit fdcb113

Browse files
committed
Delete files and format
1 parent 5d40cdc commit fdcb113

File tree

10 files changed

+8
-44
lines changed

10 files changed

+8
-44
lines changed

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ npm-debug.log
1414
/lib/*
1515
!/lib/.npmignore
1616

17-
src/**/*.js
18-
src/**/*.js.map
19-
src/**/*.d.ts
20-
2117
samples/node/secrets.json
2218
samples/browser/src/secrets.js
2319
samples/browser/src/graph-js-sdk.js
2420
samples/browser/src/graph-es-sdk.js
2521

26-
2722
test/development/secrets.ts
2823

2924
.nyc_output/*

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,9 @@ npm install
114114

115115
To edit files, open them in an editor of your choice and modify them. To create a new file, use the editor of your choice and save the new file in the appropriate location in your local copy of the repository. While working, save your work frequently.
116116

117-
*Note: Make sure to add unit tests to validate you changes.*
117+
_Note: Make sure to add unit tests to validate you changes._
118118

119-
Once you have done with your changes, You have to build and test your changes
120-
To build the library run,
119+
Once you have done with your changes, You have to build and test your changes To build the library run,
121120

122121
```cmd
123122
npm run build

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ Refer devDependencies in [package.json](./package.json) for the compatible msal
6868
```
6969

7070
```typescript
71-
7271
// Configuration options for MSAL @see https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release#configuration-options
7372
const msalConfig = {
7473
auth: {
@@ -97,7 +96,7 @@ npm install msal@<version>
9796
import { UserAgentApplication } from "msal";
9897

9998
import { ImplicitMSALAuthenticationProvider } from "@microsoft/microsoft-graph-client/lib/src/ImplicitMSALAuthenticationProvider";
100-
import { MSALAuthenticationProviderOptions } from '@microsoft/microsoft-graph-client/lib/src/MSALAuthenticationProviderOptions';
99+
import { MSALAuthenticationProviderOptions } from "@microsoft/microsoft-graph-client/lib/src/MSALAuthenticationProviderOptions";
101100

102101
// An Optional options for initializing the MSAL @see https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics#configuration-options
103102
const msalConfig = {

src/TestInclusion.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/common/middleware/MiddlewareUtil.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ describe("MiddlewareUtil.ts", async () => {
6363
it("Should get header from array of headers", () => {
6464
const options: FetchOptions = {
6565
method: "test",
66-
headers: [
67-
["version", "version"],
68-
[key, value],
69-
],
66+
headers: [["version", "version"], [key, value]],
7067
};
7168
const headerValue: string = getRequestHeader(url, options, key);
7269
assert.equal(headerValue, value);
@@ -342,4 +339,4 @@ describe("MiddlewareUtil.ts", async () => {
342339
assert.equal(uuid.length, 36);
343340
});
344341
});
345-
});
342+
});

test/development/secrets.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

test/development/workload/open-extensions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let extension: ColorOpenExtension = {
2121
color: randomString(),
2222
};
2323

24-
describe("Open Extensions", function () {
24+
describe("Open Extensions", function() {
2525
this.timeout(10 * 1000);
2626

2727
it("Use open extensions to add a field to users", async () => {

test/development/workload/users.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { User } from "@microsoft/microsoft-graph-types";
99
import { assert } from "chai";
1010
import "isomorphic-fetch";
1111

12-
1312
import { getClient, randomString } from "../test-helper";
1413

1514
const client = getClient();

test/node/content/BatchRequestContent.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { assert } from "chai";
99
import * as fs from "fs";
1010
import "isomorphic-fetch";
1111

12-
import { BatchRequestContent} from "../../../src/content/BatchRequestContent";
12+
import { BatchRequestContent } from "../../../src/content/BatchRequestContent";
1313

1414
describe("BatchRequestContent.ts", () => {
1515
describe("getContent", () => {
@@ -39,5 +39,4 @@ describe("BatchRequestContent.ts", () => {
3939
});
4040
});
4141
});
42-
4342
});

tsconfig-cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"outDir": "lib"
88
},
99
"exclude": ["node_modules", "lib", "samples", "test/development"],
10-
"include": ["./src/**/*.ts","./test"]
10+
"include": ["./src/**/*.ts", "./test"]
1111
}

0 commit comments

Comments
 (0)