mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
Reworks the integration tests to use Selenium Webdriver instead of Protractor.
18 lines
417 B
JavaScript
18 lines
417 B
JavaScript
const path = require('path');
|
|
const tsNode = require('ts-node');
|
|
const {SpecReporter, StacktraceOption} = require('jasmine-spec-reporter');
|
|
|
|
tsNode.register({
|
|
project: path.join(__dirname, 'tsconfig.json'),
|
|
});
|
|
|
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
|
|
jasmine.getEnv().clearReporters();
|
|
jasmine.getEnv().addReporter(
|
|
new SpecReporter({
|
|
spec: {
|
|
displayStacktrace: StacktraceOption.RAW,
|
|
},
|
|
}),
|
|
);
|