forked from algolia/algoliasearch-client-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.base.conf.js
35 lines (33 loc) · 848 Bytes
/
wdio.base.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-disable import/no-commonjs, functional/immutable-data */
const path = require('path');
module.exports = {
services: ['static-server'],
staticServerFolders: [
{
mount: '/algoliasearch-lite.com',
path: './specs/fixtures/websites/algoliasearch-lite.com',
},
{
mount: '/algoliasearch.com',
path: './specs/fixtures/websites/algoliasearch.com',
},
],
staticServerPort: 5000,
baseUrl: 'http://localhost:5000',
specs: [path.join(__dirname, 'specs/**/*.spec.ts')],
logLevel: 'warn',
waitforTimeout: 10000,
bail: 1,
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 60000,
},
reporters: ['spec'],
before() {
require('ts-node').register({
transpileOnly: true,
ignore: [],
project: path.join(__dirname, './tsconfig.json'),
});
},
};