This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11module . exports = function ( karma ) {
2- var common = require ( '../tools/test/karma-common.conf.js' ) ;
2+ var common = require ( '../../ tools/test/karma-common.conf.js' ) ;
33 karma . configure ( common . mixin_common_opts ( karma , {
44 // base path, that will be used to resolve files and exclude
5- basePath : '../' ,
5+ basePath : '../../ ' ,
66
77 // list of files / patterns to load in the browser
88 files : [
99 'tools/test/mocha-htmltest.js' ,
10- 'conf/mocha.conf.js' ,
11- 'node_modules/chai/chai.js' ,
12- 'test/js/*.js' ,
13- 'html-imports.js' ,
10+ 'HTMLImports/ conf/mocha.conf.js' ,
11+ 'HTMLImports/ node_modules/chai/chai.js' ,
12+ 'HTMLImports/ test/js/*.js' ,
13+ 'HTMLImports/ html-imports.js' ,
1414 { pattern : 'tools/**/*.js' , included : false } ,
15- { pattern : 'src/*' , included : false } ,
16- { pattern : 'test/**/*' , included : false }
15+ { pattern : 'HTMLImports/ src/*' , included : false } ,
16+ { pattern : 'HTMLImports/ test/**/*' , included : false }
1717 ] ,
1818 } ) ) ;
1919} ;
Original file line number Diff line number Diff line change 1- mocha . setup ( { ui :'tdd' , htmlbase :'/base/test/' } ) ;
1+ mocha . setup ( { ui :'tdd' , htmlbase :'/base/HTMLImports/ test/' } ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ var src = script.attributes.src.value;
2828var basePath = src . slice ( 0 , src . indexOf ( thisFile ) ) ;
2929
3030if ( ! window . PolymerLoader ) {
31- var path = basePath + 'tools/loader/loader.js' ;
31+ var path = basePath + '../ tools/loader/loader.js' ;
3232 document . write ( '<script src="' + path + '"></script>' ) ;
3333}
3434document . write ( '<script>PolymerLoader.load("' + scopeName + '")</script>' ) ;
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < title > HTML Imports Test</ title >
5- < script src ="../../tools/test/htmltest.js "> </ script >
5+ < script src ="../../../ tools/test/htmltest.js "> </ script >
66 < script src ="../../node_modules/chai/chai.js "> </ script >
77 < script src ="../../html-imports.js "> </ script >
88 < link rel ="import " href ="imports/import-1.html ">
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < title > parser Test</ title >
5- < script src ="../../tools/test/htmltest.js "> </ script >
5+ < script src ="../../../ tools/test/htmltest.js "> </ script >
66 < script src ="../../node_modules/chai/chai.js "> </ script >
77 < script src ="../../html-imports.js "> </ script >
88 < link rel ="import " href ="imports/parsed-import-1.html ">
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > HTMLImports Path Tests</ title >
6- < script src ="../../tools/test/htmltest.js "> </ script >
6+ < script src ="../../../ tools/test/htmltest.js "> </ script >
77 < script src ="../../node_modules/chai/chai.js "> </ script >
88 < script src ="../../html-imports.js "> </ script >
99 < script >
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < title > Style Links Test</ title >
5- < script src ="../../tools/test/htmltest.js "> </ script >
5+ < script src ="../../../ tools/test/htmltest.js "> </ script >
66 < script src ="../../node_modules/chai/chai.js "> </ script >
77 < script src ="../../html-imports.js "> </ script >
88 < link rel ="import " href ="imports/style-links.html ">
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < title > template script test</ title >
5- < script src ="../../tools/test/htmltest.js "> </ script >
5+ < script src ="../../../ tools/test/htmltest.js "> </ script >
66 < script src ="../../node_modules/chai/chai.js "> </ script >
77 < script src ="../../html-imports.js "> </ script >
88 < link rel ="import " href ="imports/template-import.html ">
Original file line number Diff line number Diff line change 1111 < link rel ="stylesheet " href ="../node_modules/mocha/mocha.css " />
1212 < script src ="../node_modules/mocha/mocha.js "> </ script >
1313 < script src ="../node_modules/chai/chai.js "> </ script >
14- < script src ="../tools/test/mocha-htmltest.js "> </ script >
14+ < script src ="../../ tools/test/mocha-htmltest.js "> </ script >
1515 < script src ="../html-imports.js "> </ script >
1616 </ head >
1717 < body >
You can’t perform that action at this time.
0 commit comments