Skip to content

Commit

Permalink
Update version in tests files
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Jul 16, 2024
1 parent dda47b3 commit 74bd396
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/helpers/__tests__/__snapshots__/xml.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`XML helpers buildChangesetFromObjectXml Should build a stringified OSM
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"me\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"my comment\\"/>
<tag k=\\"host\\" v=\\"server.net\\"/>
<tag k=\\"locale\\" v=\\"fr\\"/>
Expand All @@ -19,7 +19,7 @@ exports[`XML helpers buildChangesetFromObjectXml Should build a stringified OSM
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"\\"/>
</changeset>
Expand All @@ -32,7 +32,7 @@ exports[`XML helpers buildChangesetFromObjectXml Should handle strings having do
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"My &quot;app&quot;\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"Doing some &quot;weird&quot; stuff\\"/>
<tag k=\\"host\\" v=\\"server.net\\"/>
<tag k=\\"locale\\" v=\\"fr\\"/>
Expand All @@ -46,7 +46,7 @@ exports[`XML helpers buildChangesetXml Should build a stringified OSM changeset
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"me\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"my comment\\"/>
</changeset>
Expand All @@ -59,7 +59,7 @@ exports[`XML helpers buildChangesetXml Should build a stringified OSM changeset
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"\\"/>
</changeset>
Expand All @@ -72,7 +72,7 @@ exports[`XML helpers buildChangesetXml Should handle strings having double quote
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"My &quot;app&quot;\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"Doing some &quot;weird&quot; stuff\\"/>
</changeset>
Expand All @@ -85,7 +85,7 @@ exports[`XML helpers buildChangesetXml Should handle optional tags 1`] = `
<osm>
<changeset>
<tag k=\\"created_by\\" v=\\"My app\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 1.2.3\\"/>
<tag k=\\"created_by:library\\" v=\\"OSM Request 2.0.0\\"/>
<tag k=\\"comment\\" v=\\"Doing some stuff\\"/>
<tag k=\\"key_example\\" v=\\"value example\\"/>
</changeset>
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/__tests__/xml.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const userSample = fs.readFileSync(
);

jest.mock('../../../package.json', () => ({
version: '1.2.3'
version: '2.0.0'
}));

describe('XML helpers', () => {
Expand Down

0 comments on commit 74bd396

Please sign in to comment.