mirror of
https://github.com/upgundecha/howtheysre
synced 2026-01-02 23:38:01 +00:00
Move configs in test folder
This commit is contained in:
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@@ -22,6 +22,6 @@ jobs:
|
|||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: Run Checklist
|
- name: Run Checklist
|
||||||
shell: 'script -q -e -c "bash {0}"'
|
shell: 'cd test && script -q -e -c "bash {0}"'
|
||||||
run: npm ci && npx eslint test/. && npm run test
|
run: 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': {
|
'env': {
|
||||||
'es2021': true,
|
'es2021': true,
|
||||||
'node': true,
|
'node': true,
|
||||||
'mocha': true
|
'mocha': true,
|
||||||
},
|
},
|
||||||
'extends': [
|
'extends': [
|
||||||
'google',
|
'google',
|
||||||
@@ -13,6 +13,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'rules': {
|
'rules': {
|
||||||
'new-cap': 0,
|
'new-cap': 0,
|
||||||
'require-jsdoc': 0
|
'require-jsdoc': 0,
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
@@ -6,7 +6,7 @@ chai.use(require('chai-string'));
|
|||||||
|
|
||||||
const expect = chai.expect;
|
const expect = chai.expect;
|
||||||
|
|
||||||
const srcMd = fs.readFileSync('README.md', 'utf8');
|
const srcMd = fs.readFileSync('../README.md', 'utf8');
|
||||||
|
|
||||||
describe('Checklist', function() {
|
describe('Checklist', function() {
|
||||||
describe('Header', 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",
|
"version": "1.0.0",
|
||||||
"description": "How They SRE",
|
"description": "How They SRE",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha"
|
"test": "mocha main.spec.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
Reference in New Issue
Block a user