Skip to content

Pass component classes with a list of constructor args #39

@kyleect

Description

@kyleect
const { Config } = require("@testingrequired/bespin-core");
const {
  GlobTestFileLocator,
} = require("@testingrequired/bespin-glob-test-file-locator");
const {
  SpecTestFileParse,
} = require("@testingrequired/bespin-spec-test-file-parser");
const { AsyncRunner } = require("@testingrequired/bespin-async-runner");
const { JUnitReporter } = require("@testingrequired/bespin-junit-reporter");
const { GlobalTestValuePlugin } = require("./src/GlobalTestValuePlugin");

module.exports = new Config(__filename)
  .withLocator(GlobTestFileLocator, "**/*.test.js")
  .withParser(SpecTestFileParse)
  .withRunner(AsyncRunner)
  .withReporter(JUnitReporter, "./junit.xml")
  .withSetting("randomizeTests", true)
  .withPlugin(GlobalTestValuePlugin);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions