@@ -82,7 +82,7 @@ void describe('deploy', () => {
82
82
83
83
assert . deepEqual ( getCloudfrontCommands ( ) , [
84
84
{
85
- command : `aws cloudfront create-invalidation --distribution-id EGB08BYCT1DD9 --paths /datadog-logs-v6.js,/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/datadog-rum-v6.js,/datadog-rum-slim-v6.js` ,
85
+ command : `aws cloudfront create-invalidation --distribution-id EGB08BYCT1DD9 --paths /datadog-logs-v6.js,/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/datadog-rum-v6.js,/datadog-rum-slim-v6.js,/datadog-flagging-v6.js ` ,
86
86
env,
87
87
} ,
88
88
] )
@@ -124,7 +124,7 @@ void describe('deploy', () => {
124
124
] )
125
125
assert . deepEqual ( getCloudfrontCommands ( ) , [
126
126
{
127
- command : `aws cloudfront create-invalidation --distribution-id EGB08BYCT1DD9 --paths /us1/v6/datadog-logs.js,/us1/v6/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/us1/v6/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/us1/v6/datadog-rum.js,/us1/v6/datadog-rum-slim.js` ,
127
+ command : `aws cloudfront create-invalidation --distribution-id EGB08BYCT1DD9 --paths /us1/v6/datadog-logs.js,/us1/v6/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/us1/v6/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/us1/v6/datadog-rum.js,/us1/v6/datadog-rum-slim.js,/us1/v6/datadog-flagging.js ` ,
128
128
env,
129
129
} ,
130
130
] )
@@ -167,7 +167,7 @@ void describe('deploy', () => {
167
167
168
168
assert . deepEqual ( getCloudfrontCommands ( ) , [
169
169
{
170
- command : `aws cloudfront create-invalidation --distribution-id E2FP11ZSCFD3EU --paths /datadog-logs-staging.js,/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/datadog-rum-staging.js,/datadog-rum-slim-staging.js` ,
170
+ command : `aws cloudfront create-invalidation --distribution-id E2FP11ZSCFD3EU --paths /datadog-logs-staging.js,/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/datadog-rum-staging.js,/datadog-rum-slim-staging.js,/datadog-flagging-staging.js ` ,
171
171
env,
172
172
} ,
173
173
] )
@@ -213,7 +213,7 @@ void describe('deploy', () => {
213
213
214
214
assert . deepEqual ( getCloudfrontCommands ( ) , [
215
215
{
216
- command : `aws cloudfront create-invalidation --distribution-id E2FP11ZSCFD3EU --paths /pull-request/123/datadog-logs.js,/pull-request/123/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/pull-request/123/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/pull-request/123/datadog-rum.js,/pull-request/123/datadog-rum-slim.js` ,
216
+ command : `aws cloudfront create-invalidation --distribution-id E2FP11ZSCFD3EU --paths /pull-request/123/datadog-logs.js,/pull-request/123/chunks/profiler-${ FAKE_CHUNK_HASH } -datadog-rum.js,/pull-request/123/chunks/recorder-${ FAKE_CHUNK_HASH } -datadog-rum.js,/pull-request/123/datadog-rum.js,/pull-request/123/datadog-rum-slim.js,/pull-request/123/datadog-flagging.js ` ,
217
217
env,
218
218
} ,
219
219
] )
0 commit comments