tests/browser/observer_test.test.js
/**
     * Skip 2 ticks. Observer class uses 2 ticks to do its magic, so test must skip 2 ticks before asserting
     *
     * @param callback
     */
Skip 2 ticks. Observer class uses 2 ticks to do its magic, so test must skip 2 ticks before asserting
@param callback
Skip 2 ticks . Observer class uses 2 ticks to do its magic so test must skip 2 ticks before asserting @param callback
function skipTicks(callback) {
        setTimeout(function() {
            setTimeout(callback, 0);
        }, 0);
    }
function skipTicks ( callback ) { setTimeout ( function ( ) { setTimeout ( callback , 0 ) ; } , 0 ) ; }
Skip 2 ticks.
Skip 2 ticks .