Skip to content

Commit 465bf79

Browse files
committed
lin test specs files
1 parent 9f81ed6 commit 465bf79

22 files changed

+26
-23
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ module.exports = {
44
"browser": true,
55
"commonjs": true,
66
"es6": true,
7-
"jquery": true
7+
"jquery": true,
8+
"mocha": true
89
},
910
"extends": "eslint:recommended",
1011
"parserOptions": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"prebuild": "npm run test",
1111
"build": "webpack --config config/webpack.build.config.js",
12-
"lint": "eslint --ext=.js lib",
12+
"lint": "eslint --ext=.js lib test/specs",
1313
"coverall": "cat ./test/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
1414
"coverage": "npm run test && npm run coverall",
1515
"changelog": "conventional-changelog -i CHANGELOG.md -s",

test/specs/locales/de-DE/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ describe("Locale de-DE", () => {
8484

8585
});
8686

87-
})
87+
});

test/specs/locales/default/address.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("Default address", () => {
2222
});
2323

2424
it("check address.countryAndCode", () => {
25-
let res = fakerator.address.countryAndCode()
25+
let res = fakerator.address.countryAndCode();
2626
expect(res).to.be.an("Object");
2727
expect(res).to.have.property("code").equal("RO");
2828
expect(res).to.have.property("name").equal("Romania");
@@ -112,4 +112,4 @@ describe("Default address", () => {
112112
expect(fakerator.address.altitude({ max: 500 })).to.be.below(500);
113113
});
114114

115-
})
115+
});

test/specs/locales/default/company.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ describe("Default company", () => {
2121
expect(fakerator.company.suffix()).to.be.equal("Ltd.");
2222
});
2323

24-
})
24+
});

test/specs/locales/default/date.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ describe("Default date", () => {
6666
expect(fakerator.date.weekdayMin()).to.be.equal("Su");
6767
});
6868

69-
})
69+
});

test/specs/locales/default/index.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ describe("Locale default", () => {
1919
expect(fakerator.locale.lorem).to.be.an("Object");
2020
expect(fakerator.locale.date).to.be.an("Object");
2121
});
22-
})
22+
23+
});

test/specs/locales/default/internet.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ describe("Default internet", () => {
101101
expect(fakerator.internet.ipv6()).to.be.equal("8807:58c0:6a36:4afe:b1ce:2347:2438:78be");
102102
});
103103

104-
})
104+
});

test/specs/locales/default/lorem.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ describe("Default lorem", () => {
2626
expect(fakerator.lorem.paragraph()).to.be.an("String");
2727
});
2828

29-
})
29+
});

test/specs/locales/default/misc.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ describe("Default misc", () => {
2323
.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
2424
});
2525

26-
})
26+
});

0 commit comments

Comments
 (0)