HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/@frctl/fractal/test/web.js
'use strict';

const chai   = require('chai');
const expect = chai.expect;

const app    = require('../src/fractal')();
const Web    = require('../src/web');

describe('Web', function(){

    let web;

    before(function(){
        web = new Web(app);
    });

    it('is an event emitter', function(){
        expect(web.hasMixedIn('Emitter')).to.be.true;
    });
    it('is configurable', function(){
        expect(web.hasMixedIn('Configurable')).to.be.true;
    });

    describe('.serve()', function(){
        it('starts a web server');
    });

    describe('.build()', function(){
        it('starts the static build process');
    });

    describe('.theme()', function(){
        it('adds a theme');
    });

});