Skip to content

Commit

Permalink
Update percy.yml configuration test
Browse files Browse the repository at this point in the history
  • Loading branch information
maprules1000 committed May 2, 2019
1 parent 7a07c6d commit 5019d9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/support/.percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ snapshot:
min-height: 1024
static_site:
base-url: /blog
snapshot-files: \.html$
ignore-files: \.htm$
snapshot-files: '**/*.html'
ignore-files: '**/*.htm'
4 changes: 2 additions & 2 deletions test/utils/configuration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ describe('Configuration', () => {
expect(subject.snapshot.widths).to.eql([375, 1280])
expect(subject.snapshot['min-height']).to.eql(1024)
expect(subject.static_site['base-url']).to.eql('/blog')
expect(subject.static_site['snapshot-files']).to.eql('\\.html$')
expect(subject.static_site['ignore-files']).to.eql('\\.htm$')
expect(subject.static_site['snapshot-files']).to.eql('**/*.html')
expect(subject.static_site['ignore-files']).to.eql('**/*.htm')
})

it('gracefully handles a missing file', () => {
Expand Down

0 comments on commit 5019d9c

Please sign in to comment.