Skip to content

Commit 3fa2eb3

Browse files
committed
Port get.js transform
1 parent c50704f commit 3fa2eb3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ These transformations are available for acceptance tests:
8585
| `find('.foo').html()` | `find('.foo').innerHTML` | `html.js` |
8686
| `find('.foo').html('foo')` | `find('.foo').innerHTML = 'foo'` | `html.js` |
8787
| `find('.foo').each((index, elem) => {...})` | `findAll('.foo').forEach((elem, index) => {...})` | `each.js` |
88-
| `find('.foo').get(3)` | `findAll('.foo')[3]` | `get.js` |
88+
| `find('.foo').get(3)` | `findAll('.foo')[3]` | `get.js` |
8989

9090
If you want to run only selected transforms on your code, you can pick just the needed transform:
9191

__testfixtures__/acceptance/get.output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { findAll } from 'ember-native-dom-helpers';
1+
import { findAll } from '@ember/test-helpers';
22
import { test } from 'qunit';
33
import moduleForAcceptance from '../../tests/helpers/module-for-acceptance';
44

__testfixtures__/integration/get.output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { findAll } from 'ember-native-dom-helpers';
1+
import { findAll } from '@ember/test-helpers';
22
import { moduleForComponent, test } from 'ember-qunit';
33
import hbs from 'htmlbars-inline-precompile';
44

0 commit comments

Comments
 (0)