Skip to content

Commit 39061bc

Browse files
committed
Run tests on Babel 6 and Babel 7
1 parent 5da517f commit 39061bc

File tree

46 files changed

+1034
-506
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1034
-506
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(true && !((() => true)()) && console.assert((() => true)(), 'This is an assertion'));
2+
(true && !(false) && console.assert(false, 'This is an assertion 2'));

fixtures/debug-flag/expectation6.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
3+
if (true) {
4+
console.log('woot');
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { assign } from 'ember-utils';
2+
import { ENV } from 'ember-environment';
3+
import DEFAULT_FEATURES from '@ember/features';
4+
5+
export const FEATURES = assign(DEFAULT_FEATURES, ENV.FEATURES);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(true && !(true) && console.warn('This is deprecated'));
2+
(true && !(false) && console.warn('Message without predicate'));
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { FEATURE_A, FEATURE_B } from '@ember/features';
2+
3+
let a;
4+
if (FEATURE_A) {
5+
a = () => console.log('hello');
6+
} else if (FEATURE_B) {
7+
a = () => console.log('bye');
8+
}

0 commit comments

Comments
 (0)