mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-25 07:47:18 +00:00
Adapt JSCS for tests
This commit is contained in:
parent
13af009b4c
commit
861ecdfeb7
2
.jscsrc
2
.jscsrc
@ -4,7 +4,7 @@
|
|||||||
"disallowCapitalizedComments": false,
|
"disallowCapitalizedComments": false,
|
||||||
"disallowCommaBeforeLineBreak": false,
|
"disallowCommaBeforeLineBreak": false,
|
||||||
"disallowCurlyBraces": false,
|
"disallowCurlyBraces": false,
|
||||||
"disallowDanglingUnderscores": true,
|
"disallowDanglingUnderscores": false,
|
||||||
"disallowEmptyBlocks": true,
|
"disallowEmptyBlocks": true,
|
||||||
"disallowFunctionDeclarations": true,
|
"disallowFunctionDeclarations": true,
|
||||||
"disallowIdenticalDestructuringNames": true,
|
"disallowIdenticalDestructuringNames": true,
|
||||||
|
@ -88,7 +88,6 @@ describe('Browser: SelectionState', function() {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('given no drive', function() {
|
describe('given no drive', function() {
|
||||||
@ -189,7 +188,9 @@ describe('Browser: SelectionState', function() {
|
|||||||
describe('given the preserveImage option', function() {
|
describe('given the preserveImage option', function() {
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
SelectionStateService.clear({ preserveImage: true });
|
SelectionStateService.clear({
|
||||||
|
preserveImage: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('getDrive() should return undefined', function() {
|
it('getDrive() should return undefined', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user