Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
describe('fis3-hook-commonjs ', function() {
var root = path.join(__dirname, 'fis3_test_commonjs');
fis.project.setProjectRoot(root);
beforeEach(function() {
// default settings. fis3 release
var root2 = path.join(__dirname, 'xpy');
_.del(root2);
fis.match('*', {
deploy: fis.plugin('local-deliver', {
to: root2
})
});
fis.media().set("namespaceConnector",":");
hookSelf({
baseUrl: ".",
forwardDeclaration: true,//依赖前置,
skipBuiltinModules: false,
describe('fis3-postpackager-loader ', function() {
var root = path.join(__dirname, 'source');
fis.project.setProjectRoot(root);
beforeEach(function() {
fis.media().init();
fis.config.init();
var testfile = _(root, 'xpy');
_.del(testfile);
});
it('useInlineMap:false', function() {
fis.match('::packager', {
postpackager: wrapLoader({
allInOne: true,
scriptPlaceHolder: "",
stylePlaceHolder: '',
resourcePlaceHolder: '',
resourceType: 'auto',
processor: {