diff --git a/test/jasmine-2/Gruntfile.js b/test/jasmine-2/Gruntfile.js deleted file mode 100644 index d7e0b8b..0000000 --- a/test/jasmine-2/Gruntfile.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = function(grunt) { - 'use strict'; - - grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - - karma: { - unit: { - configFile: 'karma.conf.js' - } - } - }); - - var plugins = require('matchdep').filterDev('grunt-*'); - plugins.forEach(grunt.loadNpmTasks); - grunt.registerTask('default', ['karma']); -}; diff --git a/test/jasmine-2/karma.conf.js b/test/jasmine-2/karma.conf.js deleted file mode 100644 index 7f73753..0000000 --- a/test/jasmine-2/karma.conf.js +++ /dev/null @@ -1,78 +0,0 @@ -module.exports = function(config) { - config.set({ - - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '..', - - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['jasmine'], - - - // list of files / patterns to load in the browser - files: [ - './angular-1.4/node_modules/angular/angular.js', - './angular-1.4/node_modules/angular-mocks/angular-mocks.js', - // '../lib/sinon.js', - '../dist/ng-describe.js', - '../node_modules/lazy-ass-helpful/lazy-ass-helpful-browser.js', - '../node_modules/lazy-ass-helpful/lazy-ass-helpful-bdd.js', - '../node_modules/obind/index.js', - './*-spec.js' - ], - - - // list of files to exclude - exclude: [ - 'controller-init-spec.js', - 'http-backend-spec.js' - ], - - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - '../ng-describe.js': [] - }, - - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['nested'], - - // web server port - port: 9876, - - - // enable / disable colors in the output (reporters and logs) - colors: true, - - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['PhantomJS'], - - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: true, - - plugins: [ - 'karma-nested-reporter', - 'karma-jasmine', - 'karma-phantomjs-launcher', - 'karma-chrome-launcher' - ] - }); -}; diff --git a/test/jasmine-2/package.json b/test/jasmine-2/package.json deleted file mode 100644 index 7f71836..0000000 --- a/test/jasmine-2/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "test-ng-describe-jasmine-2", - "description": "Testing ng-describe against angular 1.4 and Jasmine 2", - "version": "0.0.1", - "author": "Gleb Bahmutov ", - "bugs": { - "url": "https://github.com/kensho/ng-describe/issues" - }, - "contributors": [ - "Gleb Bahmutov bahmutov", - "Martin Camacho mcamac" - ], - "dependencies": {}, - "devDependencies": { - "angular": "1.4.0-beta.5", - "angular-mocks": "1.4.0-beta.5", - "es5-shim": "4.1.7", - "grunt": "0.4.5", - "grunt-cli": "0.1.13", - "grunt-karma": "0.9.0", - "jasmine-core": "2.4.0", - "karma": "0.12.28", - "karma-chrome-launcher": "0.1.6", - "karma-jasmine": "0.3.6", - "karma-nested-reporter": "0.1.3", - "karma-phantomjs-launcher": "0.1.4", - "lazy-ass-helpful": "0.6.0", - "matchdep": "0.3.0", - "mocha": "2.0.1", - "obind": "0.2.0" - }, - "engines": { - "node": ">= 0.10.*" - }, - "homepage": "https://github.com/kensho/ng-describe", - "keywords": [ - "angular", - "angularjs", - "testing", - "unit", - "bdd", - "describe" - ], - "license": "MIT", - "main": "ng-describe.js", - "repository": { - "type": "git", - "url": "git@github.com:kensho/ng-describe.git" - }, - "scripts": { - "test": "grunt karma" - } -}