Skip to content

Commit

Permalink
Update specs for lighty@0.4.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
demiazz committed Nov 10, 2016
1 parent ee4249f commit 9fb1be8
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 16 deletions.
6 changes: 4 additions & 2 deletions spec/block-alias.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/block-events.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/body-events.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/element-events.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/find-alias.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/load-events.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/role-alias.spec.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down
6 changes: 4 additions & 2 deletions spec/window-events.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import $ from 'jquery';
import application from 'lighty';
import { create } from 'lighty';

import { fixture, clear, matchers } from './helpers';

import plugin from '../src/index';


describe('lighty-plugin-legacy', () => {
let application;

beforeAll(() => {
application.use(plugin).run();
application = create({ plugins: [plugin] });
});

beforeEach(() => {
Expand Down

0 comments on commit 9fb1be8

Please sign in to comment.