Skip to content

Commit

Permalink
options --> source
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Jul 20, 2017
1 parent 6ca5d9e commit 55de6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/source/tile.test.js
Expand Up @@ -175,7 +175,7 @@ test('Tile#redoPlacement', (t) => {
const tile = new Tile(new TileCoord(1, 1, 1));
tile.loadVectorData(createVectorData(), createPainter());
t.stub(tile, 'reloadSymbolData').returns(null);
const options = util.extend(new Evented(), {
const source = util.extend(new Evented(), {
type: 'vector',
dispatcher: {
send: (name, data, cb) => {
Expand All @@ -188,7 +188,7 @@ test('Tile#redoPlacement', (t) => {
}
});

tile.redoPlacement(options);
tile.redoPlacement(source);
tile.placementSource.on('data', ()=>{
if (tile.state === 'loaded') t.end();
});
Expand Down

0 comments on commit 55de6ba

Please sign in to comment.