0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-24 19:28:11 +00:00

fix tests?

This commit is contained in:
Víctor Losada Hernández
2026-01-21 17:21:52 +01:00
parent 9165032c54
commit 51da573e57
6 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
/** @jest-environment node */
/*eslint max-lines: ["warn", {"max": 1000, "skipBlankLines": true, "skipComments": true}]*/
import supertest from 'supertest';
import HBApp from './app.js';

View File

@@ -1,3 +1,4 @@
/** @jest-environment node */
import forceSSL from './forcessl.mw';
describe('Tests for ForceSSL middleware', ()=>{

View File

@@ -1,3 +1,4 @@
/** @jest-environment node */
/* eslint-disable max-lines */
import { splitTextStyleAndMetadata } from '../shared/helpers.js';

View File

@@ -1,3 +1,4 @@
/** @jest-environment node */
import { expect, jest } from '@jest/globals';
import config from './config.js';