Skip to content

Commit

Permalink
Remove .only
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng committed Oct 1, 2019
1 parent 6bbf9d7 commit 687229a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions sdk/storage/storage-blob/test/blobclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,18 +430,18 @@ describe("BlobClient", () => {
}
});

it.only("exists returns true on an existing blob", async () => {
it("exists returns true on an existing blob", async () => {
const result = await blobClient.exists();
assert.ok(result, "exists() should return true for an existing blob");
});

it.only("exists returns false on non-existing blob", async () => {
const newBlobClient = containerClient.getBlobClient(recorder.getUniqueName("blob"));
it("exists returns false on non-existing blob", async () => {
const newBlobClient = containerClient.getBlobClient(recorder.getUniqueName("newblob"));
const result = await newBlobClient.exists();
assert.ok(result === false, "exists() should return true for an existing blob");
});

it.only("exists works with customer provided key", async () => {
it("exists works with customer provided key", async () => {
blobName = recorder.getUniqueName("blobCPK");
blobClient = containerClient.getBlobClient(blobName);
blockBlobClient = blobClient.getBlockBlobClient();
Expand All @@ -461,7 +461,7 @@ describe("BlobClient", () => {
assert.ok(result, "exists() should return true");
});

it.only("exists re-throws error from getProperties", async () => {
it("exists re-throws error from getProperties", async () => {
blobName = recorder.getUniqueName("blobCPK");
blobClient = containerClient.getBlobClient(blobName);
blockBlobClient = blobClient.getBlockBlobClient();
Expand Down
6 changes: 3 additions & 3 deletions sdk/storage/storage-blob/test/containerclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,14 +556,14 @@ describe("ContainerClient", () => {
}
});

it.only("exists returns true on an existing container", async () => {
it("exists returns true on an existing container", async () => {
const result = await containerClient.exists();
assert.ok(result, "exists() should return true for an existing container");
});

it.only("exists returns false on non-existing container", async () => {
it("exists returns false on non-existing container", async () => {
const newContainerClient = blobServiceClient.getContainerClient(
recorder.getUniqueName("container")
recorder.getUniqueName("newcontainer")
);
const result = await newContainerClient.exists();
assert.ok(result === false, "exists() should return true for an existing container");
Expand Down

0 comments on commit 687229a

Please sign in to comment.