Move configs in test folder

This commit is contained in:
Unmesh Gundecha
2024-07-06 12:42:47 +08:00
parent c13e5d2b49
commit a918989c15
6 changed files with 1090 additions and 562 deletions

18
test/.eslintrc.js Normal file
View 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,
},
};

View File

@@ -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

File diff suppressed because it is too large Load Diff

27
test/package.json Normal file
View 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": {}
}