File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
test/integration/levelSolutions/flappy Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -318,11 +318,13 @@ module.exports = {
318
318
[
319
319
{
320
320
test : function test ( block ) {
321
- return (
322
- ( block . type === 'flappy_setBackground' ||
321
+ // for some reason, formatting this method with prettier causes the
322
+ // associated integration test to fail
323
+ /* eslint-disable prettier/prettier */
324
+ return ( block . type === 'flappy_setBackground' ||
323
325
block . type === 'flappy_setPlayer' ) &&
324
- block . getTitleValue ( 'VALUE' ) === 'random'
325
- ) ;
326
+ block . getTitleValue ( 'VALUE' ) === 'random' ;
327
+ /* eslint-enable prettier/prettier */
326
328
} ,
327
329
type : 'flappy_setBackground' ,
328
330
titles : {
Original file line number Diff line number Diff line change 1
1
var setRandomBackgroundRequiredBlock = {
2
2
test : function test ( block ) {
3
- return (
4
- ( block . type === 'flappy_setBackground' ||
3
+ // for some reason, formatting this method with prettier causes the
4
+ // associated integration test to fail
5
+ /* eslint-disable prettier/prettier */
6
+ return ( block . type === 'flappy_setBackground' ||
5
7
block . type === 'flappy_setPlayer' ) &&
6
- block . getTitleValue ( 'VALUE' ) === 'random'
7
- ) ;
8
+ block . getTitleValue ( 'VALUE' ) === 'random' ;
9
+ /* eslint-enable prettier/prettier */
8
10
} ,
9
11
type : 'flappy_setBackground' ,
10
12
titles : {
You can’t perform that action at this time.
0 commit comments