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: __tests__/airWaybills.test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ describe('AirWaybills', () => {
27
27
constapiKey='your-api-key';
28
28
constairWaybills=newAirWaybills(apiKey);
29
29
30
-
expect(()=>airWaybills.createAnAirWayBill({awb_number: '123456'})).toThrow('The air waybill number format is invalid and can only be 12 digits in length');
30
+
expect(()=>airWaybills.createAnAirWayBill({awb_number: '123456'})).toThrow('The air waybill number format is invalid');
31
31
});
32
32
33
33
it('should send a POST request to /awb with awb_number',()=>{
0 commit comments