<commit_before>import test from 'ava';
import * as WHS from '../../build/whitestorm.js';

const app = new WHS.App();

test('.start()', t => {
  app.start();
  t.pass();
});

test('.applyModule()', t => {
  const module = new WHS.app.SceneModule();
  t.is(app.applyModule(module), module);
});

test('.module()', t => {
  // Module chain
  t.notThrows(() => {
    app
      .module(new WHS.app.SceneModule())
      .module(new WHS.app.CameraModule());
  });
});
<commit_msg>Fix passing test for App class<commit_after>import test from 'ava';
import * as WHS from '../../build/whitestorm.js';

const app = new WHS.App();

test('.start()', t => {
  t.notThrows(() => {
    app.start();
  });
});

test('.applyModule()', t => {
  const module = new WHS.app.SceneModule();
  t.is(app.applyModule(module), module);
});

test('.module()', t => {
  // Module chain
  t.notThrows(() => {
    app
      .module(new WHS.app.SceneModule())
      .module(new WHS.app.CameraModule());
  });
});

{'fraction_non_alphanumeric': 0.2324159021406728, 'fraction_numerical': 0.0, 'mean_word_length': 3.1434599156118144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3576073', 'n_tokens_mistral': 353, 'n_tokens_neox': 354, 'n_words': 75}