mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2240] fix e2e and test in demo shell (#3035)
* fix e2e and test in demo shell * test single run demo shell conf * fix script e2e * fix test lint problems * remove async from nested test * fix pdf test * modify url load pdf strategy test * SimpleChange import * pdf viewer test fix * remove force closing * refactor pdf viewer -remove promise approach -add event rendered -add destroy worker * increment timeout * use proxy files * remove require * fix viewer component test * remove last require * prefer use of done for txt viewer test
This commit is contained in:
@@ -44,7 +44,9 @@ module.exports = function (config) {
|
||||
|
||||
{pattern: config.component + '/**/*.ts', included: false, served: true, watched: false},
|
||||
|
||||
{pattern: './config/app.config.json', included: false, served: true, watched: false}
|
||||
{pattern: './config/app.config.json', included: false, served: true, watched: false},
|
||||
{pattern: './core/viewer/assets/fake-test-file.pdf', included: false, served: true, watched: false},
|
||||
{pattern: './core/viewer/assets/fake-test-file.txt', included: false, served: true, watched: false}
|
||||
],
|
||||
|
||||
webpack: (config.mode === 'coverage') ? webpackCoverage(config) : webpackTest(config),
|
||||
@@ -59,7 +61,9 @@ module.exports = function (config) {
|
||||
port: 9876,
|
||||
|
||||
proxies: {
|
||||
'/app.config.json': '/base/config/app.config.json'
|
||||
'/app.config.json': '/base/config/app.config.json',
|
||||
'/fake-test-file.pdf': '/base/core/viewer/assets/fake-test-file.pdf',
|
||||
'/fake-test-file.txt': '/base/core/viewer/assets/fake-test-file.txt'
|
||||
},
|
||||
|
||||
// level of logging
|
||||
|
Reference in New Issue
Block a user