mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Delete obsolete tests
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
describe("iD", function () {
|
||||
var container, editor;
|
||||
|
||||
beforeEach(function() {
|
||||
container = d3.select('body').append('div');
|
||||
editor = iD()
|
||||
editor.map().background.source(null);
|
||||
editor.call(container);
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
container.remove();
|
||||
});
|
||||
|
||||
it("allows an editor to add a place", function () {
|
||||
// click 'Add Place'
|
||||
// click on map
|
||||
// select tags
|
||||
// save
|
||||
// check uploaded XML
|
||||
});
|
||||
});
|
||||
@@ -1,17 +0,0 @@
|
||||
describe('iD.Style', function() {
|
||||
describe('#waystack', function() {
|
||||
it('stacks bridges over non-bridges', function() {
|
||||
var a = { tags: { bridge: 'yes' } },
|
||||
b = { tags: {} };
|
||||
expect(iD.Style.waystack(a, b)).to.equal(1);
|
||||
expect(iD.Style.waystack(b, a)).to.equal(-1);
|
||||
});
|
||||
|
||||
it('stacks layers', function() {
|
||||
var a = { tags: { layer: 1 } },
|
||||
b = { tags: { layer: 0 } };
|
||||
expect(iD.Style.waystack(a, b)).to.equal(1);
|
||||
expect(iD.Style.waystack(b, a)).to.equal(-1);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user