curvegrid / multibaas-for-google-sheets

MIT License
8 stars 4 forks source link

Add tests for all possible error cases #53

Closed daenamkim closed 3 years ago

daenamkim commented 3 years ago

Current Apps Script testing structure will exit with 1 when Apps Script API call returns error.

https://github.com/curvegrid/multibaas-for-google-sheets/blob/beaba407e3447cb3cc1ed7e4197f63d5182248de/test/mbSheetsAddOn.js#L32-L50

But tests for intentional error cases need to be ignored to check them as expected.

daenamkim commented 3 years ago

No need to handle server error cases.