Uploaded image for project: 'Social Justice Repair Kit'
  1. Social Justice Repair Kit
  2. SJRK-245

Add integration tests for server datasource onError listeners

    XMLWordPrintable

    Details

      Description

      Add integration tests for the listeners defined on the server's three datasource components. If SJRK-244 is completed first, this could take advantage of the fluid.loggingEvent to set up listeners in the test sequence.

      https://github.com/fluid-project/infusion/blob/master/src/framework/core/js/Fluid.js#L325

      Due to the nature of fluid.loggingEvent as a dynamically-constructed entity, it may be necessary to set up a custom event in the test server that is manually bound to fluid.loggingEvent using the addListener function at the start of the test sequence, and then listen for that custom event later on in the sequence.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gmoss Gregor Moss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: