refactor(eslint): use cordova-eslint (#115)

This commit is contained in:
Norman Breau
2020-06-08 12:44:54 -03:00
committed by GitHub
parent 9f85270627
commit ed8f15e91d
5 changed files with 32 additions and 25 deletions
+5 -5
View File
@@ -31,14 +31,14 @@ exports.defineAutoTests = function () {
it('network.spec.2 should be set to a valid value', function () {
var validValues = {
'unknown': 1,
'ethernet': 1,
'wifi': 1,
unknown: 1,
ethernet: 1,
wifi: 1,
'2g': 1,
'cellular': 1,
cellular: 1,
'3g': 1,
'4g': 1,
'none': 1
none: 1
};
expect(validValues[navigator.connection.type]).toBe(1);
});