babel-helper-fixtures
Helper function to support fixtures
Last updated 2 years ago by loganfsmyth .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install babel-helper-fixtures 
SYNC missed versions from official npm registry.

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");

Current Tags

  • 6.26.2                                ...           latest (2 years ago)
  • 7.0.0-beta.3                                ...           next (2 years ago)

49 Versions

  • 6.26.2                                ...           2 years ago
  • 7.0.0-beta.3                                ...           2 years ago
  • 7.0.0-beta.2                                ...           2 years ago
  • 7.0.0-beta.1                                ...           2 years ago
  • 7.0.0-beta.0                                ...           2 years ago
  • 7.0.0-alpha.20                                ...           2 years ago
  • 6.26.0                                ...           2 years ago
  • 7.0.0-alpha.19                                ...           2 years ago
  • 7.0.0-alpha.18                                ...           2 years ago
  • 7.0.0-alpha.17                                ...           2 years ago
  • 7.0.0-alpha.16                                ...           2 years ago
  • 7.0.0-alpha.15                                ...           2 years ago
  • 7.0.0-alpha.14                                ...           2 years ago
  • 7.0.0-alpha.13                                ...           2 years ago
  • 7.0.0-alpha.12                                ...           2 years ago
  • 7.0.0-alpha.10                                ...           2 years ago
  • 7.0.0-alpha.9                                ...           3 years ago
  • 7.0.0-alpha.3                                ...           3 years ago
  • 7.0.0-alpha.1                                ...           3 years ago
  • 6.22.0                                ...           3 years ago
  • 6.20.0                                ...           3 years ago
  • 6.18.2                                ...           3 years ago
  • 6.18.1                                ...           3 years ago
  • 6.18.0                                ...           3 years ago
  • 6.9.0                                ...           4 years ago
  • 6.8.0                                ...           4 years ago
  • 6.6.5                                ...           4 years ago
  • 6.6.4                                ...           4 years ago
  • 6.5.0-1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.3.13                                ...           4 years ago
  • 6.2.4                                ...           4 years ago
  • 6.1.18                                ...           4 years ago
  • 6.1.17                                ...           4 years ago
  • 6.1.16                                ...           4 years ago
  • 6.1.13                                ...           4 years ago
  • 6.1.12                                ...           4 years ago
  • 6.1.11                                ...           4 years ago
  • 6.1.10                                ...           4 years ago
  • 6.1.9                                ...           4 years ago
  • 6.1.8                                ...           4 years ago
  • 6.1.7                                ...           4 years ago
  • 6.1.6                                ...           4 years ago
  • 6.1.5                                ...           4 years ago
  • 6.1.4                                ...           4 years ago
  • 6.0.15                                ...           4 years ago
  • 6.0.14                                ...           4 years ago
  • 6.0.2                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 347
Last Day 0
Last Week 200
Last Month 263
Dependencies (4)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |