Skip to content

Commit

Permalink
Eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bcameron1231 committed Jan 12, 2024
1 parent 3e56268 commit 66ac59e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/graph/directory-objects/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ export enum DirectoryObjectTypes {
* Device
*/
device,
}
}
2 changes: 1 addition & 1 deletion packages/graph/files/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,4 +472,4 @@ export interface IDeltaItems {
next: IGraphCollection<IDeltaItems>;
delta: IGraphCollection<IDeltaItems>;
values: any[];
}
}
2 changes: 1 addition & 1 deletion packages/msaljsclient/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function MSAL(options: MSALOptions): (instance: Queryable) => Queryable {

if (!app) {
instances.set(name, new PublicClientApplication(options.configuration));
app = instances.get(name)!;
app = instances.get(name);
await app.initialize();
}

Expand Down
2 changes: 0 additions & 2 deletions test/graph/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { List } from "@microsoft/microsoft-graph-types";
import { getRandomString, stringIsNullOrEmpty } from "@pnp/core";
import { IAnalyticsOptions } from "@pnp/graph/analytics";
import getTestingGraphSPSite from "./utilities/getTestingGraphSPSite.js";
import { ListItem } from "@pnp/graph/list-item";

describe("Analytics", function () {
let testUserName = "";
Expand Down Expand Up @@ -109,7 +108,6 @@ describe("Analytics", function () {
this.skip();
}
const options: IAnalyticsOptions = { timeRange: "allTime" };
const item: ListItem = await site.lists.getById(listResultId).items.getById(listItemId)();
const analytics = await site.lists.getById(listResultId).items.getById(listItemId).analytics(options);
return expect(analytics).to.haveOwnProperty("@odata.context").eq("https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.itemActivityStat");
});
Expand Down
2 changes: 1 addition & 1 deletion test/graph/paging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ describe("Groups", function () {
// items doesn't support count, should be zero
expect(count).to.eq(-1);
});
});
});

0 comments on commit 66ac59e

Please sign in to comment.