Migrate all example code for docs to async/await

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Native
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently have all of our example code for docs in examples_test.js, in varying forms of promises, callbacks and async/await forms. We should move all of these tests to a new folder (e.g. test/examples), split them up into files, and make sure they are all using async/await exclusively. The rationale for moving it to a new folder is that we will not be able to run these tests on node < 8 due to the use of async/await, but we still want to promote this use of the driver to users at large.

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: