Skip to content

Commit

Permalink
Merge pull request #389 from skjnldsv/chore/test-ci
Browse files Browse the repository at this point in the history
stat test not registering failures
  • Loading branch information
perry-mitchell authored Dec 7, 2024
2 parents 03fa32e + 2e53a9d commit 817d85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/node/operations/stat.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ describe("stat", function () {
});
});

it("correctly parses the displayname property", function () {
it("correctly parses the displayname property", async function () {
returnFakeResponse(
readFileSync(
new URL("../../responses/propfind-numeric-displayname.xml", import.meta.url)
).toString()
);

this.client.stat("/1/", { details: true }).then(function (result) {
await this.client.stat("/1/", { details: true }).then(function (result) {
expect(result.data).to.have.property("props").that.is.an("object");
expect(result.data.props)
.to.have.property("displayname")
Expand Down

0 comments on commit 817d85e

Please sign in to comment.