Merge pull request #146 from upgundecha/unmesh-wip

Move configs in test folder
This commit is contained in:
Unmesh Gundecha
2024-07-06 12:46:47 +08:00
committed by GitHub
6 changed files with 1089 additions and 561 deletions

View File

@@ -23,5 +23,5 @@ jobs:
- name: Run Checklist - name: Run Checklist
shell: 'script -q -e -c "bash {0}"' 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
View File

@@ -1 +1 @@
/node_modules node_modules

View File

@@ -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,
} },
}; };

View File

@@ -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() {

File diff suppressed because it is too large Load Diff

View File

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