Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois committed Nov 2, 2018
1 parent eafcac3 commit 6e6f7a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/arcgis-rest-groups/test/crud.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { removeGroup } from "../src/remove";
import { GroupEditResponse } from "./mocks/responses";

import { encodeParam } from "@esri/arcgis-rest-request";
import { IGroupAdd } from "@esri/arcgis-rest-common-types";
import * as fetchMock from "fetch-mock";

describe("groups", () => {
Expand All @@ -30,8 +31,9 @@ describe("groups", () => {
title: "fake group",
owner: "fakeUser",
tags: ["foo", "bar"],
description: "my fake group"
};
description: "my fake group",
access: "public"
} as IGroupAdd;
createGroup({ group: fakeGroup, ...MOCK_REQOPTS })
.then(response => {
expect(fetchMock.called()).toEqual(true);
Expand Down

0 comments on commit 6e6f7a6

Please sign in to comment.