Skip to content

Commit ec0040f

Browse files
committed
chore: linting
1 parent f488e4f commit ec0040f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default defineConfig([
1717
globalIgnores([
1818
'coverage',
1919
'dist/*',
20+
'.wrangler'
2021
]),
2122
{
2223
languageOptions: {

test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ describe('fetch', () => {
4949
const resp = await hnd.fetch({ method: 'GET' }, {});
5050
assert.strictEqual(resp.status, 403);
5151
});
52-
5352
});
5453

5554
describe('invalid routes', () => {
@@ -62,11 +61,12 @@ describe('invalid routes', () => {
6261
const test = async (path) => {
6362
const methods = ['OPTIOMS', 'GET', 'POST', 'PUT', 'DELETE'];
6463
for (const method of methods) {
64+
// eslint-disable-next-line no-await-in-loop
6565
const status = await fetchStatus(path, method);
6666
assert.strictEqual(status, 400);
6767
}
6868
};
69-
69+
7070
it('return 400 for invalid paths', async () => {
7171
await test('/');
7272
await test('/source/owner');

0 commit comments

Comments
 (0)