Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request nextzen#85 from mapzen/hanb/fix-test
Browse files Browse the repository at this point in the history
fixing test since hash changed
  • Loading branch information
binx committed May 3, 2016
2 parents c79a2e2 + 5266216 commit 95e176c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ module.exports = function (config) {
'node_modules/happen/happen.js',
// Leaflet library
'node_modules/leaflet/dist/leaflet.js',
// hashable
'src/hashable-state.js',
// tests
'test/*.js',
// web map js
Expand Down
4 changes: 1 addition & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ describe('leaflet', function () {
});

it('checks that hashable is listening', function () {
window.setTimeout(function () {
expect(location.hash).to.equal('#13/51.505/-0.090');
}, 200);
expect(window.location.hash).to.equal('#?z=13&lng=-0.09&lat=51.505');
});

it('checks that states are not pushed to history', function () {
Expand Down

0 comments on commit 95e176c

Please sign in to comment.