Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
Updating snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
edolyne committed Dec 1, 2016
1 parent 40a16cb commit 3b1daa4
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 657 deletions.
129 changes: 0 additions & 129 deletions imports/components/currency/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
exports[`Currency correctly displays a negative value. 1`] = `
<div
className="floating text-left text-dark-primary">
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "5px",
}
}>
$
</h4>
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "3px",
}
}>
-
</h4>
<h2
className="floating__item flush">
420
</h2>
<h4
className="floating__item flush">
.
00
</h4>
</div>
`;

exports[`Currency correctly returns a negative value. 1`] = `
<div
className="floating text-left text-dark-primary">
Expand Down Expand Up @@ -136,102 +103,6 @@ exports[`Currency correctly returns when no currency symbol is provided. 1`] = `
</div>
`;

exports[`Currency falls back correctly if currency symbol isn't present. 1`] = `
<div
className="floating text-left text-dark-primary">
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "5px",
}
}>
$
</h4>
<h2
className="floating__item flush">
420
</h2>
<h4
className="floating__item flush">
.
00
</h4>
</div>
`;

exports[`Currency falls back correctly if there isn't an amount. 1`] = `
<div
className="floating text-left text-dark-primary">
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "5px",
}
}>
$
</h4>
<h2
className="floating__item flush">
0
</h2>
<h4
className="floating__item flush">
.
00
</h4>
</div>
`;

exports[`Currency falls back correctly if there isn't any cents. 1`] = `
<div
className="floating text-left text-dark-primary">
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "5px",
}
}>
$
</h4>
<h2
className="floating__item flush">
420
</h2>
<h4
className="floating__item flush">
.
00
</h4>
</div>
`;

exports[`Currency properly formats a positive number 1`] = `
<div
className="floating text-left text-dark-primary">
<h4
className="floating__item flush"
style={
Object {
"paddingRight": "5px",
}
}>
$
</h4>
<h2
className="floating__item flush">
420
</h2>
<h4
className="floating__item flush">
.
00
</h4>
</div>
`;

exports[`Currency properly returns a positive number 1`] = `
<div
className="floating text-left text-dark-primary">
Expand Down
26 changes: 0 additions & 26 deletions imports/pages/locations/__tests__/__snapshots__/Layout.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -222,32 +222,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 336,
"source": Source {
"body": "
query GeoLocate($origin: String, $destinations: String) {
geolocate(origin: $origin, destinations: $destinations) {
rows {
elements {
distance {
text
value
}
duration {
text
value
}
status
}
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
25 changes: 0 additions & 25 deletions imports/pages/locations/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -158,31 +158,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 200,
"source": Source {
"body": "
query GetCampuses {
campuses {
id
guid
name
services
url
location {
street1
street2
city
state
zip
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
35 changes: 0 additions & 35 deletions imports/pages/music/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -353,41 +353,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 470,
"source": Source {
"body": "
query getAlbums($limit: Int!, $skip: Int!) {
content(channel: \"newspring_albums\", limit: $limit, skip: $skip) {
id
entryId: id
title
status
channelName
meta {
urlTitle
siteId
date
channelId
}
content {
images(sizes: [\"large\"]) {
fileName
fileType
fileLabel
url
}
tracks {
file: s3
}
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
45 changes: 0 additions & 45 deletions imports/pages/music/__tests__/__snapshots__/music.Album.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -575,51 +575,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 659,
"source": Source {
"body": "
query getAlbum($id: ID!) {
content: node(id: $id) {
id
... on Content {
entryId: id
title
status
channelName
meta {
urlTitle
siteId
date
channelId
}
content {
tracks {
title
duration
file: s3
}
images(sizes: [\"large\", \"medium\", \"small\", \"xsmall\"]) {
fileName
fileType
fileLabel
size
url
}
colors {
value
description
}
isLight
}
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
34 changes: 0 additions & 34 deletions imports/pages/news/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -346,40 +346,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 440,
"source": Source {
"body": "
query GetNews($limit: Int!, $skip: Int!) {
content(channel: \"news\", limit: $limit, skip: $skip) {
id
entryId: id
title
status
channelName
meta {
urlTitle
siteId
date
channelId
}
content {
body
images(sizes: [\"large\"]) {
fileName
fileType
fileLabel
url
}
ooyalaId
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
37 changes: 0 additions & 37 deletions imports/pages/news/__tests__/__snapshots__/stories.Single.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -330,43 +330,6 @@ Object {
},
],
"kind": "Document",
"loc": Object {
"end": 479,
"source": Source {
"body": "
query getNews($id: ID!) {
content: node(id: $id) {
id
... on Content {
entryId: id
title
status
channelName
meta {
urlTitle
siteId
date
channelId
}
content {
body
ooyalaId
tags
images(sizes: [\"large\"]) {
fileName
fileType
fileLabel
url
}
}
}
}
}
",
"name": "GraphQL",
},
"start": 3,
},
}
`;

Expand Down
Loading

0 comments on commit 3b1daa4

Please sign in to comment.