mirror of
https://github.com/upgundecha/howtheysre
synced 2026-01-02 23:38:01 +00:00
Merge pull request #146 from upgundecha/unmesh-wip
Move configs in test folder
This commit is contained in:
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@@ -23,5 +23,5 @@ jobs:
|
||||
|
||||
- name: Run Checklist
|
||||
shell: 'script -q -e -c "bash {0}"'
|
||||
run: npm ci && npx eslint test/. && npm run test
|
||||
run: cd test && npm ci && npx eslint . && npm run test
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
||||
/node_modules
|
||||
node_modules
|
||||
@@ -2,7 +2,7 @@ module.exports = {
|
||||
'env': {
|
||||
'es2021': true,
|
||||
'node': true,
|
||||
'mocha': true
|
||||
'mocha': true,
|
||||
},
|
||||
'extends': [
|
||||
'google',
|
||||
@@ -13,6 +13,6 @@ module.exports = {
|
||||
},
|
||||
'rules': {
|
||||
'new-cap': 0,
|
||||
'require-jsdoc': 0
|
||||
}
|
||||
'require-jsdoc': 0,
|
||||
},
|
||||
};
|
||||
@@ -6,7 +6,7 @@ chai.use(require('chai-string'));
|
||||
|
||||
const expect = chai.expect;
|
||||
|
||||
const srcMd = fs.readFileSync('README.md', 'utf8');
|
||||
const srcMd = fs.readFileSync('../README.md', 'utf8');
|
||||
|
||||
describe('Checklist', function() {
|
||||
describe('Header', function() {
|
||||
|
||||
1636
package-lock.json → test/package-lock.json
generated
1636
package-lock.json → test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"description": "How They SRE",
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
"test": "mocha main.spec.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
Reference in New Issue
Block a user