Browse Source

support test skipping

contingency-plan
Rich Harris 10 years ago
parent
commit
161d717112
  1. 6
      test/samples/export-from-no-local-binding/_config.js
  2. 2
      test/test.js

6
test/samples/export-from-no-local-binding/_config.js

@ -3,9 +3,11 @@ var assert = require( 'assert' );
module.exports = {
description: 'export from does not create a local binding',
error: function () {
error: function ( err ) {
assert.ok( false, 'TODO: assertion is skipped because it is not used... we need to implement something like /*rollup: include */')
}
},
skip: true
};
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-from

2
test/test.js

@ -39,7 +39,7 @@ describe( 'rollup', function () {
config = { description: dir };
}
( config.solo ? it.only : it )( dir, function () {
( config.skip ? it.skip : config.solo ? it.only : it )( dir, function () {
return rollup.rollup( SAMPLES + '/' + dir + '/main.js', extend( {}, config.options ) )
.then( function ( bundle ) {
var unintendedError;

Loading…
Cancel
Save