Issue adding Kendo to javascript tests

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    1 posts
    Member since:
    Jan 2016

    Posted 08 Feb Link to this post

    I have added the kendo.directives to my angular app, but when I add the kendo.web.min.js file to the karma.conf file, it gives an error.  Any help would be appreciated.


    PhantomJS 1.9.8 (Windows 7 0.0.0) ERROR
      TypeError: 'undefined' is not an object (evaluating 'e.extend')
      at C:/Dev/Source/OneKey_Web/MET.OpenLink/MET.OpenLink.Web/scripts/kendo/kendo.web.min.js:9


    angular app declaration:

     var openLinkApp = angular.module('openLinkApp', [ 'kendo.directives']);


    karma.conf.js :

    module.exports = function(config) {

        basePath: '',
        frameworks: ['jasmine'],

        plugins: [

        // list of files / patterns to load in the browser
        files: [
        exclude: [ ],
        preprocessors: {
            'Scripts/app/': 'coverage',
            'scripts/kendo/kendo.web.min.js': 'coverage',
            'scripts/app/**/*.js': 'coverage'

        reporters: ['super-dots', 'nested'],

        coverageReporter: {
            reporters: [
                { type: 'html', dir : 'coverage/' },
                { type: 'teamcity' }

        port: 9876,
        colors: true,
        logLevel: config.LOG_INFO,
        autoWatch: false,
        browsers: ['PhantomJS'],
        singleRun: true

  2. Tsvetina
    Tsvetina avatar
    1861 posts

    Posted 11 Feb Link to this post

    Hello Ryan,

    You posted your question under the Telerik Platform product line. Telerik Platform is an end-to-end solution for mobile development. Your question seems to be about testing your Kendo UI-based website.

    In order to get the assistance you need, please either submit a support ticket for Kendo UI Professional, post this question in the Kendo UI forums or on Stack Overflow where the Kendo UI community discussions take place.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top