Skip to content

Commit c356345

Browse files
committed
Setup GitHub Workflow for testing
1 parent db38f49 commit c356345

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
19+
node-version: [16.x, 18.x, 20.x, 22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
1616
"coverage": "nyc npm run test && nyc report --reporter=html",
1717
"count": "find . -name '*.js' -not -path './node_modules/*' | xargs wc -l | sort -r",
18-
"lint": "eslint ./"
18+
"lint": "eslint ."
1919
},
2020
"dependencies": {
2121
"xpath-to-css": "^1.1.0"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const xPathToCss = require('xpath-to-css');
44

55
/**
6-
* @param xPath - String which is a XPath
6+
* @param {Array<string>} argv
77
* @return {string} - String which is a Selector (ex. in CSS, or jQuery)
88
*/
99
function x([xPath]) {

0 commit comments

Comments
 (0)