File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11const config = {
2- 'workflow_read_token' : 'WORKFLOW_READ_TOKEN - DO NOT SPECIFY - POPULATED AUTOMATICALLY'
2+ 'workflow_read_token' : 'WORKFLOW_READ_TOKEN - DO NOT SPECIFY - POPULATED AUTOMATICALLY' ,
3+ 'updateCellMinutes' : 10
34}
45
56module . exports = { config }
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ function deleteAllTriggers() {
88}
99
1010function createTriggers ( ) {
11- const minutes = 10
11+ const minutes = config . updateCellMinutes
1212 ScriptApp . newTrigger ( 'updateRunsConfigC2Cell' ) . timeBased ( ) . everyMinutes ( minutes ) . create ( )
1313}
Original file line number Diff line number Diff line change 11const { config } = require ( '../src/config' )
22
3- test ( 'config has placeholder values ' , ( ) => {
3+ test ( 'config.workflow_read_token has placeholder value ' , ( ) => {
44 expect ( config . workflow_read_token ) . toBe ( 'WORKFLOW_READ_TOKEN - DO NOT SPECIFY - POPULATED AUTOMATICALLY' )
55} )
6+
7+ test ( 'config.updateCellMinutes is defined' , ( ) => {
8+ expect ( config . updateCellMinutes ) . toBeDefined ( )
9+ } )
You can’t perform that action at this time.
0 commit comments