You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/upload.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ describe("File upload", function () {
133
133
imagekit.upload(fileOptions,callback);
134
134
expect(server.requests.length).to.be.equal(1);
135
135
expect(callback.calledOnce).to.be.true;
136
-
sinon.assert.calledWith(callback,{message: "Missing token for upload. The SDK expects token, sginature and expire for authentication.",help: ""},null);
136
+
sinon.assert.calledWith(callback,{message: "Missing token for upload. The SDK expects token, signature and expire for authentication.",help: ""},null);
137
137
});
138
138
139
139
it('Missing signature',function(){
@@ -149,7 +149,7 @@ describe("File upload", function () {
149
149
imagekit.upload(fileOptions,callback);
150
150
expect(server.requests.length).to.be.equal(1);
151
151
expect(callback.calledOnce).to.be.true;
152
-
sinon.assert.calledWith(callback,{message: "Missing signature for upload. The SDK expects token, sginature and expire for authentication.",help: ""},null);
152
+
sinon.assert.calledWith(callback,{message: "Missing signature for upload. The SDK expects token, signature and expire for authentication.",help: ""},null);
153
153
});
154
154
155
155
it('Missing expire',function(){
@@ -165,7 +165,7 @@ describe("File upload", function () {
165
165
imagekit.upload(fileOptions,callback);
166
166
expect(server.requests.length).to.be.equal(1);
167
167
expect(callback.calledOnce).to.be.true;
168
-
sinon.assert.calledWith(callback,{message: "Missing expire for upload. The SDK expects token, sginature and expire for authentication.",help: ""},null);
168
+
sinon.assert.calledWith(callback,{message: "Missing expire for upload. The SDK expects token, signature and expire for authentication.",help: ""},null);
0 commit comments