Skip to content

Commit 6a34f03

Browse files
Karan NagpalKaran Nagpal
authored andcommitted
fix rspecs
1 parent c956f29 commit 6a34f03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/bin/helpers/zipUpload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe("zipUpload", () => {
110110
}
111111
return uploadSuitsrewire(bsConfig, filePath, opts)
112112
.then((data) => {
113-
chai.assert.deepEqual(data, {});
113+
chai.assert.hasAllKeys(data, ["time"]);
114114
})
115115
.catch((_error) => {
116116
chai.assert.fail("Promise error");
@@ -135,7 +135,7 @@ describe("zipUpload", () => {
135135
}
136136
return uploadSuitsrewire(bsConfig, filePath, opts)
137137
.then((data) => {
138-
chai.assert.deepEqual(data, {zip_url: 'zip_url'});
138+
chai.assert.hasAllKeys(data, ["zip_url", "time"]);
139139
})
140140
.catch((_error) => {
141141
chai.assert.fail("Promise error");

0 commit comments

Comments
 (0)