mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 20:11:38 +08:00
13 lines
413 B
JavaScript
13 lines
413 B
JavaScript
var path = require('path');
|
|
|
|
var pattern = function(file) {
|
|
return {pattern: file, included: true, served: true, watched: false};
|
|
};
|
|
|
|
var framework = function(files) {
|
|
files.unshift(pattern(path.join(__dirname, 'adapter.js')));
|
|
files.unshift(pattern(path.resolve(require.resolve('chai'), '../chai.js')));
|
|
};
|
|
|
|
framework.$inject = ['config.files'];
|
|
module.exports = {'framework:chai': ['factory', framework]}; |