Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"overrides": [
{
"files": ["integration-test/**/*.js"],
"files": ["integration-test/**/*.js", "test/**/*.js"],
"rules": {
"node/no-unpublished-require": 0,
"node/no-missing-require": 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: npm install
- name: Linting
run: npm run format
# - name: Tests
# run: npm run test:ci
- name: Tests
run: npm run test:ci
# - name: Codecov test coverage
# run: bash scripts/coverage.sh "${{ matrix.os }}" "${{ matrix.node }}"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules/
.eslintcache
.nyc_output
coverage
4 changes: 4 additions & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
timeout: "120s",
verbose: true,
};
2 changes: 1 addition & 1 deletion integration-test/edge-handlers/hello-world.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export async function onRequest(ev) {
const state = req.headers.get("X-NF-Subdivision-Code");
const data = state && td.find((el) => el.state === state);
var array = [1];
var other = concat(array, 2, [3], [4]);
var other = concat(array, 2, [3], [4], data.positive);
console.log(other);
}
Loading