Skip to content

Commit

Permalink
Fix testrunner for projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Oct 4, 2023
1 parent 700ff1d commit 7a17d4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
- Reindex parent after delete @robgietema
- Fix addable in types endpoint @robgietema
- Fix import order of profiles @robgietema
- Fix test runner for projects @robgietema

### Internal

Expand Down
2 changes: 1 addition & 1 deletion config.js.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import events from './events';
import events from './src/events';

export const config = {
connection: {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import _, { indexOf, join, slice } from 'lodash';
function readFile(filename) {
// Read request file
const data = fs
.readFileSync(path.join(__dirname, `../../../docs/examples/${filename}`))
.readFileSync(`${process.cwd()}/docs/examples/${filename}`)
.toString()
.split(/\r?\n/);

Expand Down

0 comments on commit 7a17d4b

Please sign in to comment.