logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 2c7f78a29fd040a655c74951c2d1919e736ce133
parent c966364d1c1df0621e340c249df344c43201c076
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 22 Jul 2024 01:19:05 +0300

fix tests

Diffstat:

Mtest/unit/specs/services/theme_data/theme_data3.spec.js6+++---
1 file changed, 3 insertions(+), 3 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 @@ -66,7 +66,7 @@ describe('Theme Data 3', () => { this.timeout(5000) it('Test initialization without anything', () => { - const out = init({ ruleset: [], ultimateBackgroundColor: '#DEADAF' }) + const out = init({ inputRuleset: [], ultimateBackgroundColor: '#DEADAF' }) expect(out).to.have.property('eager') expect(out).to.have.property('lazy') @@ -86,7 +86,7 @@ describe('Theme Data 3', () => { it('Test initialization with a basic palette', () => { const out = init({ - ruleset: [{ + inputRuleset: [{ component: 'Root', directives: { '--bg': 'color | #008080', @@ -109,7 +109,7 @@ describe('Theme Data 3', () => { it('Test initialization with opacity', () => { const out = init({ - ruleset: [{ + inputRuleset: [{ component: 'Root', directives: { '--bg': 'color | #008080'