Skip to content

Commit

Permalink
fix options test
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Apr 3, 2024
1 parent a724735 commit a5640cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/fixtures/synthetics.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = env => {
screenshot: 'off',
schedule: 10,
locations: ['us_east'],
tags: ['foo', 'bar'],
privateLocations: ['test-location'],
alert: {
status: {
Expand Down
3 changes: 2 additions & 1 deletion __tests__/options.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('options', () => {
expect(await normalizeOptions(cliArgs)).toMatchObject({
dryRun: true,
environment: 'test',
match: 'check*',
filter: { match: 'check*' },
params: {
foo: 'bar',
url: 'non-dev',
Expand Down Expand Up @@ -108,6 +108,7 @@ describe('options', () => {
screenshots: 'only-on-failure',
schedule: 3,
privateLocations: ['test'],
tags: ['foo', 'bar'],
locations: ['australia_east'],
alert: {
status: {
Expand Down

0 comments on commit a5640cd

Please sign in to comment.