<commit_before>
describe('fpBindChildren', function() {

  var root, scope, el;

  beforeEach(function(done) {

    module('flashpoint');
    module('flashpoint.mocks.pump');

    inject(function($rootScope, $compile) {

      el = angular.element('<ul ' +
        'firebase="' + window.__env__.FIREBASE_TEST_URL + '" ' +
        'fp-bind-children="fp.path(\'test\', \'children\') | orderByKey | limitToFirst:3" >' +
        '<li fp-child-repeat>{{ $key }}: {{ $value }}</li>' +
        '</ul>');

      $compile(el)($rootScope);
      scope = el.scope();

    });

    scope.fp.onAttach(function(_root_) {

      console.log('attached');
      root = _root_;
      root.child('test/children').set({
        'a': 1,
        'b': 2,
        'c': 3,
        'd': 4,
        'e': 5,
        'f': 6
      })
      .then(function() {
        setTimeout(done, 500);
      }, done);

    });

  });
<commit_msg>remove errant console.log in test<commit_after>
describe('fpBindChildren', function() {

  var root, scope, el;

  beforeEach(function(done) {

    module('flashpoint');
    module('flashpoint.mocks.pump');

    inject(function($rootScope, $compile) {

      el = angular.element('<ul ' +
        'firebase="' + window.__env__.FIREBASE_TEST_URL + '" ' +
        'fp-bind-children="fp.path(\'test\', \'children\') | orderByKey | limitToFirst:3" >' +
        '<li fp-child-repeat>{{ $key }}: {{ $value }}</li>' +
        '</ul>');

      $compile(el)($rootScope);
      scope = el.scope();

    });

    scope.fp.onAttach(function(_root_) {

      root = _root_;
      root.child('test/children').set({
        'a': 1,
        'b': 2,
        'c': 3,
        'd': 4,
        'e': 5,
        'f': 6
      })
      .then(function() {
        setTimeout(done, 500);
      }, done);

    });

  });

{'fraction_non_alphanumeric': 0.20756816917084028, 'fraction_numerical': 0.011129660545353366, 'mean_word_length': 2.176678445229682, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '959526', 'n_tokens_mistral': 653, 'n_tokens_neox': 608, 'n_words': 103}