5180 fichiers 38.5 Mo 0 téléchargements 210 vues mis à jour il y a 5 heures ui
nitro-v36-with-renderer-v36 / src / css / inventory / InventoryEmptyShop.test.ts
InventoryEmptyShop.test.ts 679 o Télécharger le fichier
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { describe, expect, it } from 'vitest';

const css = readFileSync(join(process.cwd(), 'src/css/inventory/InventoryView.css'), 'utf8');

describe('the empty inventory shop button', () => {
    it('slices the large shiny picture the same way in every state', () => {
        expect(css).toContain('.octane-inventory-empty-shop:hover');
        expect(css).toContain('var(--habbo-skin-shiny-large-hover)');
        expect(css).toContain('var(--habbo-skin-shiny-large-pressed)');
        expect(css.match(/border-image-slice: 6 6 7 6 fill !important;/g)?.length).toBeGreaterThanOrEqual(3);
    });
});
15Sujets
1Dépôts
20Membres
2En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser