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:
18
test/.eslintrc.js
Normal file
18
test/.eslintrc.js
Normal file
@@ -0,0 +1,18 @@
|
||||
module.exports = {
|
||||
'env': {
|
||||
'es2021': true,
|
||||
'node': true,
|
||||
'mocha': true,
|
||||
},
|
||||
'extends': [
|
||||
'google',
|
||||
],
|
||||
'parserOptions': {
|
||||
'ecmaVersion': 12,
|
||||
'sourceType': 'module',
|
||||
},
|
||||
'rules': {
|
||||
'new-cap': 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() {
|
||||
|
||||
2053
test/package-lock.json
generated
Normal file
2053
test/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
27
test/package.json
Normal file
27
test/package.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "howtheysre",
|
||||
"version": "1.0.0",
|
||||
"description": "How They SRE",
|
||||
"scripts": {
|
||||
"test": "mocha main.spec.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/upgundecha/howtheysre.git"
|
||||
},
|
||||
"author": "upgundecha",
|
||||
"license": "CC0 1.0 Universal",
|
||||
"bugs": {
|
||||
"url": "https://github.com/upgundecha/howtheysre/issues"
|
||||
},
|
||||
"homepage": "https://github.com/upgundecha/howtheysre#readme",
|
||||
"devDependencies": {
|
||||
"chai": "^4.3.6",
|
||||
"chai-arrays": "^2.2.0",
|
||||
"chai-string": "^1.5.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"mocha": "^10.1.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
Reference in New Issue
Block a user