spec/unit/pluginHandler/windows.spec.js
function (tag, elementToInstall, xml) {
                var frameworkCustomPathElement = xml.find(xpath);
                expect(frameworkCustomPathElement).not.toBe(null);
                var frameworkCustomPath = frameworkCustomPathElement.text;
                expect(frameworkCustomPath).not.toBe(null);
                var targetDir = elementToInstall.targetDir || '';
                var frameworkCustomExpectedPath = path.join('plugins', dummyPluginInfo.id, targetDir,
                    path.basename(elementToInstall.src));
                expect(frameworkCustomPath).toEqual(frameworkCustomExpectedPath);
            }
function (tag, elementToInstall, xml) {
                var frameworkCustomPathElement = xml.find(xpath);
                expect(frameworkCustomPathElement).not.toBe(null);
                var frameworkCustomPath = frameworkCustomPathElement.text;
                expect(frameworkCustomPath).not.toBe(null);
                var targetDir = elementToInstall.targetDir || '';
                var frameworkCustomExpectedPath = path.join('plugins', dummyPluginInfo.id, targetDir,
                    path.basename(elementToInstall.src));
                expect(frameworkCustomPath).toEqual(frameworkCustomExpectedPath);
            }
function ( tag , elementToInstall , xml ) { var frameworkCustomPathElement = xml . find ( xpath ) ; expect ( frameworkCustomPathElement ) . not . toBe ( null ) ; var frameworkCustomPath = frameworkCustomPathElement . text ; expect ( frameworkCustomPath ) . not . toBe ( null ) ; var targetDir = elementToInstall . targetDir || '' ; var frameworkCustomExpectedPath = path . join ( 'plugins' , dummyPluginInfo . id , targetDir , path . basename ( elementToInstall . src ) ) ; expect ( frameworkCustomPath ) . toEqual ( frameworkCustomExpectedPath ) ; }
Check that installed framework reference is properly added to project.
Check that installed framework reference is properly added to project .