Skip to content

Commit

Permalink
Merge pull request #188 from Turbo87/wat
Browse files Browse the repository at this point in the history
Adjust import paths for `getContext()` and `setResolver()`
  • Loading branch information
Turbo87 authored Feb 5, 2018
2 parents ed578ef + 1e449d5 commit 7a8a01d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon-test-support/ember-mocha/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import describeComponent from 'ember-mocha/describe-component';
import describeModel from 'ember-mocha/describe-model';
import setupTestFactory from 'ember-mocha/setup-test-factory';
import { it } from 'mocha';
import { setResolver } from '@ember/test-helpers';
import {
setResolver,
TestModule,
TestModuleForModel,
TestModuleForComponent,
Expand Down
2 changes: 1 addition & 1 deletion addon-test-support/ember-mocha/mocha-module.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import { beforeEach, afterEach, after, describe } from 'mocha';
import { getContext } from 'ember-test-helpers';
import { getContext } from '@ember/test-helpers';

export function createModule(Constructor, name, description, callbacks, tests, method) {
Ember.deprecate(
Expand Down
2 changes: 1 addition & 1 deletion addon-test-support/ember-mocha/setup-test-factory.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import { before, beforeEach, afterEach, after } from 'mocha';
import { getContext } from 'ember-test-helpers';
import { getContext } from '@ember/test-helpers';

export default function(Constructor) {
return function setupTest(moduleName, options = {}) {
Expand Down

0 comments on commit 7a8a01d

Please sign in to comment.