How to use the wikibase-sdk.simplify.qualifier function in wikibase-sdk

To help you get started, we’ve selected a few wikibase-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github maxlath / wikibase-edit / test / integration / qualifier / update.js View on Github external
.then(res => {
        const qualifier = res.claim.qualifiers[property].slice(-1)[0]
        simplify.qualifier(qualifier, { keepRichValues: true }).should.deepEqual(newValue)
        done()
      })
    })