Triggers don't work well when I test my GAS project as Add-on

Viewed 46

I'm developing google-sheets add-on.

I want to create functions that create triggers associated to individual spreadsheets. I think that GAS SpreadSheetTriggerBuilder realize this function, but it doesn't work well.

When I test it as addon, triggers that I set using SpreadSheetTriggerBuilder don't work. Whent it is GAS project, they work well.

Who knows my problem??

1 Answers

As written in the official documentation,

Installable triggers aren't supported when testing. Functionality that depends on installable triggers are not testable.

Therefore you can't test those triggers.

Related