Files
Kristiyan Kostadinov 91c2d63414 build: switch integration tests away from protractor
Reworks the integration tests to use Selenium Webdriver instead of Protractor.
2026-09-16 14:52:31 +02:00

23 lines
519 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,
},
}),
);
afterAll(async () => {
const {quitWebDriver} = require('./src/util');
await quitWebDriver();
});