Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should set themeName in manifest.json ', function() {
helpers.assertFileContent('themes/Testtheme/manifest.json', /"name": "Testtheme"/g);
});
ractive.run({}, function () {
helpers.assertFileContent('Gruntfile.js', /requirejs/i);
helpers.assertFileContent('bower.json', /requirejs/i);
done();
})
});
this.app.run({}, function () {
helpers.assertFileContent('Makefile', /list:/);
helpers.assertFileContent('Makefile', /no_targets__:/);
helpers.assertFileContent('Makefile', /setup:/);
helpers.assertFileContent('Makefile', /test:/);
helpers.assertFileContent('Makefile', /unit:/);
helpers.assertFileContent('Makefile', /redis:/);
helpers.assertFileContent('Makefile', /kill_redis:/);
helpers.assertFileContent('Makefile', /redis_test:/);
helpers.assertFileContent('Makefile', /kill_redis_test:/);
helpers.assertFileContent('Makefile', /mongo:/);
helpers.assertFileContent('Makefile', /kill_mongo:/);
helpers.assertFileContent('Makefile', /clear_mongo:/);
helpers.assertFileContent('Makefile', /mongo_test:/);
helpers.assertFileContent('Makefile', /kill_mongo_test:/);
helpers.assertFileContent('Makefile', /tox:/);
done();
});
});
this.app.run({}, function () {
helpers.assertFileContent('setup.py', /from test_package import __version__/);
helpers.assertFileContent('setup.py', /name='test-package',/);
helpers.assertFileContent('setup.py', / version=__version__,/);
helpers.assertFileContent('setup.py', / description='an incredible python package',/);
helpers.assertFileContent('setup.py', /\nan incredible python package\n/);
helpers.assertFileContent('setup.py', / keywords='test package',/);
helpers.assertFileContent('setup.py', / author='Pablo Santiago Blum de Aguiar',/);
helpers.assertFileContent('setup.py', / author_email='scorphus@gmail.com',/);
helpers.assertFileContent('setup.py', / url='https:\/\/github.com\/someuser\/somepackage',/);
helpers.assertFileContent('setup.py', / license='MIT',/);
helpers.assertFileContent('setup.py', / 'Programming Language :: Python :: 2.7',/);
helpers.assertFileContent('setup.py', / include_package_data=False,/);
helpers.assertFileContent('setup.py', / 'pymongo',/);
helpers.assertFileContent('setup.py', / 'redis',/);
done();
});
});
this.app.run({}, function () {
helpers.assertFileContent('Makefile', /list:/);
helpers.assertFileContent('Makefile', /no_targets__:/);
helpers.assertFileContent('Makefile', /setup:/);
helpers.assertFileContent('Makefile', /test:/);
helpers.assertFileContent('Makefile', /unit:/);
helpers.assertFileContent('Makefile', /redis:/);
helpers.assertFileContent('Makefile', /kill_redis:/);
helpers.assertFileContent('Makefile', /redis_test:/);
helpers.assertFileContent('Makefile', /kill_redis_test:/);
helpers.assertFileContent('Makefile', /mongo:/);
helpers.assertFileContent('Makefile', /kill_mongo:/);
helpers.assertFileContent('Makefile', /clear_mongo:/);
helpers.assertFileContent('Makefile', /mongo_test:/);
helpers.assertFileContent('Makefile', /kill_mongo_test:/);
helpers.assertFileContent('Makefile', /tox:/);
done();
});
});
this.app.run({}, function () {
helpers.assertFileContent('setup.py', /from test_package import __version__/);
helpers.assertFileContent('setup.py', /name='test-package',/);
helpers.assertFileContent('setup.py', / version=__version__,/);
helpers.assertFileContent('setup.py', / description='an incredible python package',/);
helpers.assertFileContent('setup.py', /\nan incredible python package\n/);
helpers.assertFileContent('setup.py', / keywords='test package',/);
helpers.assertFileContent('setup.py', / author='Pablo Santiago Blum de Aguiar',/);
helpers.assertFileContent('setup.py', / author_email='scorphus@gmail.com',/);
helpers.assertFileContent('setup.py', / url='https:\/\/github.com\/someuser\/somepackage',/);
helpers.assertFileContent('setup.py', / license='MIT',/);
helpers.assertFileContent('setup.py', / 'Programming Language :: Python :: 2.7',/);
helpers.assertFileContent('setup.py', / include_package_data=False,/);
helpers.assertFileContent('setup.py', / 'pymongo',/);
helpers.assertFileContent('setup.py', / 'redis',/);
done();
});
});
this.app.run({}, function () {
helpers.assertFileContent('Makefile', /list:/);
helpers.assertFileContent('Makefile', /no_targets__:/);
helpers.assertFileContent('Makefile', /setup:/);
helpers.assertFileContent('Makefile', /test:/);
helpers.assertFileContent('Makefile', /unit:/);
helpers.assertFileContent('Makefile', /redis:/);
helpers.assertFileContent('Makefile', /kill_redis:/);
helpers.assertFileContent('Makefile', /redis_test:/);
helpers.assertFileContent('Makefile', /kill_redis_test:/);
helpers.assertFileContent('Makefile', /mongo:/);
helpers.assertFileContent('Makefile', /kill_mongo:/);
helpers.assertFileContent('Makefile', /clear_mongo:/);
helpers.assertFileContent('Makefile', /mongo_test:/);
helpers.assertFileContent('Makefile', /kill_mongo_test:/);
helpers.assertFileContent('Makefile', /tox:/);
done();
});
});
react.run({}, function () {
helpers.assertFile([
'src/pages/GamePlayerPage/index.js',
'src/pages/GamePlayerPage/style.less',
'src/pages/GamePlayerPage/__tests__/index-test.js',
]);
helpers.assertFileContent(
'src/pages/GamePlayerPage/index.js',
/\s+<div>\n\s+Game Player/
);
helpers.assertFileContent(
'src/pages/GamePlayerPage/style.less',
/\.game-player-page/
);
done();
});
});</div>
this.app.run({}, function () {
helpers.assertFileContent('setup.py', /from test_package import __version__/);
helpers.assertFileContent('setup.py', /name='test-package',/);
helpers.assertFileContent('setup.py', / version=__version__,/);
helpers.assertFileContent('setup.py', / description='an incredible python package',/);
helpers.assertFileContent('setup.py', /\nan incredible python package\n/);
helpers.assertFileContent('setup.py', / keywords='test package',/);
helpers.assertFileContent('setup.py', / author='Pablo Santiago Blum de Aguiar',/);
helpers.assertFileContent('setup.py', / author_email='scorphus@gmail.com',/);
helpers.assertFileContent('setup.py', / url='https:\/\/github.com\/someuser\/somepackage',/);
helpers.assertFileContent('setup.py', / license='MIT',/);
helpers.assertFileContent('setup.py', / 'Programming Language :: Python :: 2.7',/);
helpers.assertFileContent('setup.py', / include_package_data=False,/);
helpers.assertFileContent('setup.py', / 'pymongo',/);
helpers.assertFileContent('setup.py', / 'redis',/);
done();
});
});
this.app.run({}, function () {
helpers.assertFileContent('setup.py', /from test_package import __version__/);
helpers.assertFileContent('setup.py', /name='test-package',/);
helpers.assertFileContent('setup.py', / version=__version__,/);
helpers.assertFileContent('setup.py', / description='an incredible python package',/);
helpers.assertFileContent('setup.py', /\nan incredible python package\n/);
helpers.assertFileContent('setup.py', / keywords='test package',/);
helpers.assertFileContent('setup.py', / author='Pablo Santiago Blum de Aguiar',/);
helpers.assertFileContent('setup.py', / author_email='scorphus@gmail.com',/);
helpers.assertFileContent('setup.py', / url='https:\/\/github.com\/someuser\/somepackage',/);
helpers.assertFileContent('setup.py', / license='MIT',/);
helpers.assertFileContent('setup.py', / 'Programming Language :: Python :: 2.7',/);
helpers.assertFileContent('setup.py', / include_package_data=False,/);
helpers.assertFileContent('setup.py', / 'pymongo',/);
helpers.assertFileContent('setup.py', / 'redis',/);
done();
});
});