Skip to content

Commit cea9da0

Browse files
authored
Merge pull request #146 from upgundecha/unmesh-wip
Move configs in test folder
2 parents c13e5d2 + ffffe56 commit cea9da0

File tree

6 files changed

+1081
-553
lines changed

6 files changed

+1081
-553
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323

2424
- name: Run Checklist
2525
shell: 'script -q -e -c "bash {0}"'
26-
run: npm ci && npx eslint test/. && npm run test
26+
run: cd test && npm ci && npx eslint . && npm run test
2727

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/node_modules
1+
node_modules

.eslintrc.js renamed to test/.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
'env': {
33
'es2021': true,
44
'node': true,
5-
'mocha': true
5+
'mocha': true,
66
},
77
'extends': [
88
'google',
@@ -13,6 +13,6 @@ module.exports = {
1313
},
1414
'rules': {
1515
'new-cap': 0,
16-
'require-jsdoc': 0
17-
}
16+
'require-jsdoc': 0,
17+
},
1818
};

test/main.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ chai.use(require('chai-string'));
66

77
const expect = chai.expect;
88

9-
const srcMd = fs.readFileSync('README.md', 'utf8');
9+
const srcMd = fs.readFileSync('../README.md', 'utf8');
1010

1111
describe('Checklist', function() {
1212
describe('Header', function() {

0 commit comments

Comments
 (0)