Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
updated wdio config
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed May 13, 2024
1 parent fd3c9f7 commit 9d412d8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions wdio.conf.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const path = require('path');
// eslint-disable-next-line import/no-extraneous-dependencies
const { config } = require('@cerner/terra-functional-testing/lib/config/wdio.conf');
const { config } = require('@cerner/terra-functional-testing');

if (process.env.npm_package_name !== 'terra-clinical') {
config.specs = [path.join(__dirname, 'packages', process.env.npm_package_name, 'tests', 'wdio', '**', '*-spec.js')];
}
config.specs = ['./packages/**/tests/wdio/**/*-spec.js'];

exports.config = config;

0 comments on commit 9d412d8

Please sign in to comment.