Fix tests
This commit is contained in:
parent
040cd5a3b8
commit
2f05010648
2 changed files with 11 additions and 3 deletions
|
@ -9,7 +9,7 @@ export default class OsmObjectSpec extends T {
|
|||
"Download referencing ways",
|
||||
() => {
|
||||
let downloaded = false;
|
||||
OsmObject.DownloadReferencingWays("node/1124134958", ways => {
|
||||
OsmObject.DownloadReferencingWays("node/1124134958").addCallbackAndRunD(ways => {
|
||||
downloaded = true;
|
||||
console.log(ways)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue