Nobody Pays (for) Magazines
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @sheerun/babel-helper-fixturespublic

    babel-helper-fixtures

    NOTE: This is an internal Babel module and may not work outside. Use at your own risk.

    Usage

    import getFixtures from "babel-helper-fixtures";
     
    type TestFile = {
      loc: string;
      code: string;
      filename: string;
    };
     
    type Test = {
      title: string;
      disabled: boolean;
      options: Object;
      exec: TestFile;
      actual: TestFile;
      expected: TestFile;
    };
     
    type Suite = {
      options: Object;
      tests: Array<Test>;
      title: string;
      filename: string;
    };
     
    let fixtures: Array<Suite> = getFixtures("/User/sebmck/Projects/babel-something/test/fixtures");

    Keywords

    none

    install

    npm i @sheerun/babel-helper-fixtures

    Downloadsweekly downloads

    0

    version

    6.22.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar