Sha256: 58e2181ba988bd1d44003edf52a8b3d339c242a1931db44ff06c52e80c50eeca

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

#= require_self
#= require_tree ./fixtures
#= require_tree .

# Remove QUnit's globals
delete window[key] for key, value of QUnit when window[key] is value

Trix.TestHelpers = helpers =
  extend: (properties) ->
    for key, value of properties
      this[key] = value
    this

  after: (delay, callback) ->
    setTimeout(callback, delay)

  defer: (callback) ->
    helpers.after(1, callback)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vapid-0.1.3 lib/vapid/vendor/trix/test/src/test_helpers/index.coffee
vapid-0.1.2 lib/vapid/vendor/trix/test/src/test_helpers/index.coffee
vapid-0.1.1 lib/vapid/vendor/trix/test/src/test_helpers/index.coffee
vapid-0.1.0 lib/vapid/vendor/trix/test/src/test_helpers/index.coffee