0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-22 18:17:52 +00:00

Revert "fix tests?"

This reverts commit 51da573e57.
This commit is contained in:
Víctor Losada Hernández
2026-01-21 17:27:46 +01:00
parent 0868b45fa3
commit f256316b0b
6 changed files with 1 additions and 8 deletions

View File

@@ -1,2 +0,0 @@
global.TextEncoder = require('util').TextEncoder;
global.TextDecoder = require('util').TextDecoder;

View File

@@ -81,8 +81,7 @@
}
},
"setupFilesAfterEnv": [
"jest-expect-message",
"<rootDir>/jest.setup.js"
"jest-expect-message"
]
},
"dependencies": {

View File

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

View File

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

View File

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