Skip to content

Commit

Permalink
CodeceptJS 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhye1 committed Apr 24, 2024
1 parent c891afe commit 6c4ee03
Show file tree
Hide file tree
Showing 8 changed files with 276 additions and 37 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,6 @@ dist

# Parcel
.parcel-cache/

# CodeceptJS
react-app/output/
26 changes: 0 additions & 26 deletions react-app/codecept.conf.js

This file was deleted.

24 changes: 24 additions & 0 deletions react-app/codecept.conf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* eslint-disable import/prefer-default-export */

// eslint-disable-next-line import/no-extraneous-dependencies
import { setCommonPlugins, setHeadlessWhen } from '@codeceptjs/configure';

setHeadlessWhen(process.env.HEADLESS);

setCommonPlugins();

export const config = {
name: 'frontend-survival-week04',
tests: './tests/**/*_test.ts',
output: './output',
helpers: {
Playwright: {
url: 'http://localhost:8080',
show: true,
browser: 'chromium',
},
},
include: {
I: './tests/steps_file',
},
};
Loading

0 comments on commit 6c4ee03

Please sign in to comment.