<commit_before>flight-jasmine [![Build Status](https://travis-ci.org/twitter/flight-jasmine.png?branch=master)](http://travis-ci.org/twitter/flight-jasmine)
==============

Extensions to the Jasmine test framework for use with [Flight](https://github.com/twitter/flight)

# Getting started

Copy [lib/flight-jasmine.js](lib/flight-jasmine.js) in to your app and load in test runner.

## Components
```javascript
describeComponent('path/to/component', function () {
  beforeEach(setupComponent);

  it('should do x', function () {
    // a component instance is now accessible as this.component
    // the component root node is attached to the DOM
    // the component root node is also available as this.$node
  });
});
```

## Mixins
```javascript
describeMixin('path/to/mixin', function () {
  // initialize the component and attach it to the DOM
  beforeEach(setupComponent);<commit_msg>Improve install instructions<commit_after>flight-jasmine [![Build Status](https://travis-ci.org/twitter/flight-jasmine.png?branch=master)](http://travis-ci.org/twitter/flight-jasmine)
==============

Extensions to the Jasmine test framework for use with [Flight](https://github.com/twitter/flight)

# Getting started

Include [flight-jasmine.js](https://raw.github.com/twitter/flight-jasmine/master/lib/flight-jasmine.js)
in your app and load it in your test runner.

Or install it with [Bower](https://github.com/twitter/bower):

```bash
bower install flight-jasmine --save
```

## Components
```javascript
describeComponent('path/to/component', function () {
  beforeEach(setupComponent);

  it('should do x', function () {
    // a component instance is now accessible as this.component
    // the component root node is attached to the DOM
    // the component root node is also available as this.$node
  });
});
```

## Mixins
```javascript
describeMixin('path/to/mixin', function () {
  // initialize the component and attach it to the DOM
  beforeEach(setupComponent);
{'fraction_non_alphanumeric': 0.14598168870803663, 'fraction_numerical': 0.0, 'mean_word_length': 4.540845070422535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '2154206', 'n_tokens_mistral': 603, 'n_tokens_neox': 559, 'n_words': 162}