test(platform-server): enable meta tag and title service specs for server (#14574)

Fix CSS selector syntax to allow single and double quotes. Needed for meta tag service selector to work properly on parse5.

Fixes #14565.
This commit is contained in:
vikerman
2017-03-01 11:19:22 -08:00
committed by Igor Minar
parent 47bdc2b0b7
commit 9402df92de
5 changed files with 74 additions and 46 deletions

View File

@ -68,8 +68,11 @@ var specFiles: any =
]
});
})
// The security spec however works (and must work!) on the server side.
// Run relevant subset of browser tests for features reused on the server side.
// Make sure the security spec works on the server side!
.concat(glob.sync('@angular/platform-browser/test/security/**/*_spec.js', {cwd: distAll}))
.concat(['/@angular/platform-browser/test/browser/meta_spec.js'])
.concat(['/@angular/platform-browser/test/browser/title_spec.js'])
.reduce((specFiles: string[], paths: string[]) => specFiles.concat(paths), <string[]>[]);
jasmine.DEFAULT_TIMEOUT_INTERVAL = 100;