-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9ea1dbc
Showing
20 changed files
with
6,972 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"reporter": "lcovonly" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"/home/perrin4869/nodejs/chai-superagent/index.js":"1","/home/perrin4869/nodejs/chai-superagent/test/assertions.js":"2","/home/perrin4869/nodejs/chai-superagent/test/integration.js":"3","/home/perrin4869/nodejs/chai-superagent/test/prepare.js":"4"},{"size":11013,"mtime":1647481894971,"results":"5","hashOfConfig":"6"},{"size":14163,"mtime":1647482408029,"results":"7","hashOfConfig":"6"},{"size":4935,"mtime":1647447504508,"results":"8","hashOfConfig":"6"},{"size":167,"mtime":1647430872492,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","suppressedMessages":"12","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1oyjuam",{"filePath":"13","messages":"14","suppressedMessages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","suppressedMessages":"18","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"19","messages":"20","suppressedMessages":"21","errorCount":1,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/perrin4869/nodejs/chai-superagent/index.js",[],["22","23","24","25","26","27","28","29","30","31","32","33","34"],"/home/perrin4869/nodejs/chai-superagent/test/assertions.js",[],["35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60"],"/home/perrin4869/nodejs/chai-superagent/test/integration.js",[],["61","62","63","64","65","66","67","68","69","70","71","72","73"],"/home/perrin4869/nodejs/chai-superagent/test/prepare.js",["74"],["75","76"],{"ruleId":"77","severity":1,"message":"78","line":61,"column":33,"nodeType":"79","messageId":"80","endLine":61,"endColumn":42,"suppressions":"81"},{"ruleId":"77","severity":1,"message":"78","line":108,"column":33,"nodeType":"79","messageId":"80","endLine":108,"endColumn":42,"suppressions":"82"},{"ruleId":"77","severity":1,"message":"78","line":155,"column":36,"nodeType":"79","messageId":"80","endLine":155,"endColumn":45,"suppressions":"83"},{"ruleId":"77","severity":1,"message":"78","line":177,"column":31,"nodeType":"79","messageId":"80","endLine":177,"endColumn":40,"suppressions":"84"},{"ruleId":"77","severity":1,"message":"78","line":205,"column":33,"nodeType":"79","messageId":"80","endLine":205,"endColumn":42,"suppressions":"85"},{"ruleId":"86","severity":2,"message":"87","line":206,"column":7,"nodeType":"88","messageId":"89","endLine":206,"endColumn":48,"suppressions":"90"},{"ruleId":"91","severity":2,"message":"92","line":213,"column":15,"nodeType":"93","messageId":"94","endLine":213,"endColumn":31,"suppressions":"95"},{"ruleId":"77","severity":1,"message":"78","line":237,"column":34,"nodeType":"79","messageId":"80","endLine":237,"endColumn":43,"suppressions":"96"},{"ruleId":"77","severity":1,"message":"78","line":271,"column":37,"nodeType":"79","messageId":"80","endLine":271,"endColumn":46,"suppressions":"97"},{"ruleId":"77","severity":1,"message":"78","line":297,"column":37,"nodeType":"79","messageId":"80","endLine":297,"endColumn":46,"suppressions":"98"},{"ruleId":"86","severity":2,"message":"87","line":300,"column":5,"nodeType":"88","messageId":"89","endLine":300,"endColumn":42,"suppressions":"99"},{"ruleId":"77","severity":1,"message":"78","line":340,"column":32,"nodeType":"79","messageId":"80","endLine":340,"endColumn":41,"suppressions":"100"},{"ruleId":"77","severity":1,"message":"78","line":371,"column":33,"nodeType":"79","messageId":"80","endLine":371,"endColumn":42,"suppressions":"101"},{"ruleId":"86","severity":2,"message":"87","line":30,"column":5,"nodeType":"88","messageId":"89","endLine":30,"endColumn":37,"suppressions":"102"},{"ruleId":"86","severity":2,"message":"87","line":31,"column":5,"nodeType":"88","messageId":"89","endLine":31,"endColumn":67,"suppressions":"103"},{"ruleId":"86","severity":2,"message":"87","line":34,"column":7,"nodeType":"88","messageId":"89","endLine":34,"endColumn":43,"suppressions":"104"},{"ruleId":"86","severity":2,"message":"87","line":38,"column":7,"nodeType":"88","messageId":"89","endLine":38,"endColumn":73,"suppressions":"105"},{"ruleId":"86","severity":2,"message":"87","line":112,"column":5,"nodeType":"88","messageId":"89","endLine":112,"endColumn":33,"suppressions":"106"},{"ruleId":"86","severity":2,"message":"87","line":113,"column":5,"nodeType":"88","messageId":"89","endLine":113,"endColumn":33,"suppressions":"107"},{"ruleId":"86","severity":2,"message":"87","line":116,"column":7,"nodeType":"88","messageId":"89","endLine":116,"endColumn":39,"suppressions":"108"},{"ruleId":"86","severity":2,"message":"87","line":120,"column":7,"nodeType":"88","messageId":"89","endLine":120,"endColumn":39,"suppressions":"109"},{"ruleId":"86","severity":2,"message":"87","line":132,"column":5,"nodeType":"88","messageId":"89","endLine":132,"endColumn":28,"suppressions":"110"},{"ruleId":"86","severity":2,"message":"87","line":133,"column":5,"nodeType":"88","messageId":"89","endLine":133,"endColumn":28,"suppressions":"111"},{"ruleId":"86","severity":2,"message":"87","line":136,"column":7,"nodeType":"88","messageId":"89","endLine":136,"endColumn":34,"suppressions":"112"},{"ruleId":"86","severity":2,"message":"87","line":140,"column":7,"nodeType":"88","messageId":"89","endLine":140,"endColumn":34,"suppressions":"113"},{"ruleId":"86","severity":2,"message":"87","line":152,"column":5,"nodeType":"88","messageId":"89","endLine":152,"endColumn":28,"suppressions":"114"},{"ruleId":"86","severity":2,"message":"87","line":153,"column":5,"nodeType":"88","messageId":"89","endLine":153,"endColumn":28,"suppressions":"115"},{"ruleId":"86","severity":2,"message":"87","line":156,"column":7,"nodeType":"88","messageId":"89","endLine":156,"endColumn":34,"suppressions":"116"},{"ruleId":"86","severity":2,"message":"87","line":160,"column":7,"nodeType":"88","messageId":"89","endLine":160,"endColumn":34,"suppressions":"117"},{"ruleId":"86","severity":2,"message":"87","line":172,"column":5,"nodeType":"88","messageId":"89","endLine":172,"endColumn":28,"suppressions":"118"},{"ruleId":"86","severity":2,"message":"87","line":173,"column":5,"nodeType":"88","messageId":"89","endLine":173,"endColumn":28,"suppressions":"119"},{"ruleId":"86","severity":2,"message":"87","line":176,"column":7,"nodeType":"88","messageId":"89","endLine":176,"endColumn":34,"suppressions":"120"},{"ruleId":"86","severity":2,"message":"87","line":180,"column":7,"nodeType":"88","messageId":"89","endLine":180,"endColumn":34,"suppressions":"121"},{"ruleId":"86","severity":2,"message":"87","line":185,"column":5,"nodeType":"88","messageId":"89","endLine":185,"endColumn":45,"suppressions":"122"},{"ruleId":"86","severity":2,"message":"87","line":188,"column":7,"nodeType":"88","messageId":"89","endLine":188,"endColumn":38,"suppressions":"123"},{"ruleId":"86","severity":2,"message":"87","line":191,"column":5,"nodeType":"88","messageId":"89","endLine":194,"endColumn":20,"suppressions":"124"},{"ruleId":"86","severity":2,"message":"87","line":196,"column":5,"nodeType":"88","messageId":"89","endLine":199,"endColumn":24,"suppressions":"125"},{"ruleId":"86","severity":2,"message":"87","line":202,"column":7,"nodeType":"88","messageId":"89","endLine":202,"endColumn":43,"suppressions":"126"},{"ruleId":"86","severity":2,"message":"87","line":206,"column":7,"nodeType":"88","messageId":"89","endLine":206,"endColumn":47,"suppressions":"127"},{"ruleId":"86","severity":2,"message":"87","line":15,"column":9,"nodeType":"88","messageId":"89","endLine":15,"endColumn":32,"suppressions":"128"},{"ruleId":"86","severity":2,"message":"87","line":16,"column":9,"nodeType":"88","messageId":"89","endLine":16,"endColumn":36,"suppressions":"129"},{"ruleId":"86","severity":2,"message":"87","line":17,"column":9,"nodeType":"88","messageId":"89","endLine":17,"endColumn":36,"suppressions":"130"},{"ruleId":"86","severity":2,"message":"87","line":21,"column":9,"nodeType":"88","messageId":"89","endLine":21,"endColumn":54,"suppressions":"131"},{"ruleId":"86","severity":2,"message":"87","line":22,"column":9,"nodeType":"88","messageId":"89","endLine":22,"endColumn":50,"suppressions":"132"},{"ruleId":"86","severity":2,"message":"87","line":29,"column":9,"nodeType":"88","messageId":"89","endLine":29,"endColumn":32,"suppressions":"133"},{"ruleId":"86","severity":2,"message":"87","line":30,"column":9,"nodeType":"88","messageId":"89","endLine":30,"endColumn":36,"suppressions":"134"},{"ruleId":"86","severity":2,"message":"87","line":31,"column":9,"nodeType":"88","messageId":"89","endLine":31,"endColumn":36,"suppressions":"135"},{"ruleId":"86","severity":2,"message":"87","line":46,"column":9,"nodeType":"88","messageId":"89","endLine":46,"endColumn":32,"suppressions":"136"},{"ruleId":"86","severity":2,"message":"87","line":52,"column":9,"nodeType":"88","messageId":"89","endLine":52,"endColumn":67,"suppressions":"137"},{"ruleId":"86","severity":2,"message":"87","line":53,"column":9,"nodeType":"88","messageId":"89","endLine":53,"endColumn":68,"suppressions":"138"},{"ruleId":"86","severity":2,"message":"87","line":54,"column":9,"nodeType":"88","messageId":"89","endLine":54,"endColumn":65,"suppressions":"139"},{"ruleId":"86","severity":2,"message":"87","line":55,"column":9,"nodeType":"88","messageId":"89","endLine":55,"endColumn":66,"suppressions":"140"},{"ruleId":"141","severity":2,"message":"142","line":5,"column":12,"nodeType":"143","messageId":"144","endLine":5,"endColumn":37},{"ruleId":"145","severity":2,"message":"146","line":5,"column":19,"nodeType":"147","endLine":5,"endColumn":36,"suppressions":"148"},{"ruleId":"149","severity":2,"message":"150","line":5,"column":19,"nodeType":"147","endLine":5,"endColumn":36,"suppressions":"151"},"func-names","Unexpected unnamed function.","FunctionExpression","unnamed",["152"],["153"],["154"],["155"],["156"],"no-unused-expressions","Expected an assignment or function call and instead saw an expression.","ExpressionStatement","unusedExpression",["157"],"no-bitwise","Unexpected use of '~'.","UnaryExpression","unexpected",["158"],["159"],["160"],["161"],["162"],["163"],["164"],["165"],["166"],["167"],["168"],["169"],["170"],["171"],["172"],["173"],["174"],["175"],["176"],["177"],["178"],["179"],["180"],["181"],["182"],["183"],["184"],["185"],["186"],["187"],["188"],["189"],["190"],["191"],["192"],["193"],["194"],["195"],["196"],["197"],["198"],["199"],["200"],["201"],["202"],["203"],"node/no-unsupported-features/es-syntax","'import()' expressions are not supported yet.","ImportExpression","no-dynamic-import","import/no-unresolved","Unable to resolve path to module 'chai-superagent'.","Literal",["204"],"node/no-missing-import","\"chai-superagent\" is not found.",["205"],{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},{"kind":"206","justification":"207"},"directive",""] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
coverage/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"extends": ["airbnb-base", "plugin:node/recommended"], | ||
"plugins": ["node"], | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-underscore-dangle": ["error", { "allow": ["_obj"] }], | ||
"import/extensions": 0 | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["test/**/*.js"], | ||
"extends": ["plugin:mocha/recommended"], | ||
"plugins": ["mocha"], | ||
"env": { | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"mocha/no-mocha-arrows": 0, | ||
"node/no-unsupported-features/es-syntax": 0 | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
versioning-strategy: increase | ||
schedule: | ||
interval: daily | ||
reviewers: | ||
- perrin4869 | ||
assignees: | ||
- perrin4869 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: release | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Test | ||
run: npm test | ||
|
||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: test | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: | ||
- 14.x | ||
- 16.x | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Test | ||
run: npm run cover | ||
|
||
- name: Publish to coveralls.io | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"reporter": "spec", | ||
"ui": "bdd", | ||
"require": ["./test/prepare.js"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2015 Julian Grinblat | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.