Skip to content

Commit

Permalink
Merge pull request #32 from laurenashpole/tests/cleanup-addl-tests
Browse files Browse the repository at this point in the history
Added additional tests, cleaned up test files
  • Loading branch information
laurenashpole authored Dec 29, 2020
2 parents 851ff0c + 1638eac commit c407733
Show file tree
Hide file tree
Showing 5 changed files with 282 additions and 251 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions tests/constants.js

This file was deleted.

21 changes: 21 additions & 0 deletions tests/constants/srcs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export const SRCS = {
default: 'https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=500',
zoom: 'https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=1000',
sources: [
{
srcSet: 'https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=750, https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=1500 2x',
media: '(min-width: 768px)'
}, {
srcSet: 'https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=1000, https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=2000 2x',
media: '(min-width: 1024px)'
}
],
invalidSources: [
{
srcSet: 'https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=750, https://images.unsplash.com/photo-1517331156700-3c241d2b4d83?fit=crop&w=1500 2x',
media: '(min-width: 768px)'
}, {
media: '(min-width: 1024px)'
}
]
};
232 changes: 0 additions & 232 deletions tests/index-test.js

This file was deleted.

Loading

0 comments on commit c407733

Please sign in to comment.