logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: c298611af2736b0a0d535b6bb47b2c9025e4069a
parent 300b3a251725bb38a720dbf6278e68be0cae1ee8
Author: Henry Jameson <me@hjkos.com>
Date:   Tue, 26 Mar 2024 18:49:29 +0200

fix tests and make them pass on shit hardware

Diffstat:

Mtest/unit/specs/services/theme_data/theme_data3.spec.js6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/unit/specs/services/theme_data/theme_data3.spec.js b/test/unit/specs/services/theme_data/theme_data3.spec.js @@ -9,7 +9,7 @@ import { basePaletteKeys } from 'src/services/theme_data/theme2_to_theme3.js' -describe.only('Theme Data 3', () => { +describe('Theme Data 3', () => { describe('getAllPossibleCombinations', () => { it('test simple 3 values case', () => { const out = getAllPossibleCombinations([1, 2, 3]).map(x => x.sort((a, b) => a - b)) @@ -62,7 +62,9 @@ describe.only('Theme Data 3', () => { }) }) - describe('init', () => { + describe('init', function () { + this.timeout(5000) + it('Test initialization without anything', () => { const out = init([], '#DEADAF')