velocious 1.0.42 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "velocious": "bin/velocious.js"
4
4
  },
5
5
  "name": "velocious",
6
- "version": "1.0.42",
6
+ "version": "1.0.43",
7
7
  "main": "index.js",
8
8
  "scripts": {
9
9
  "test": "jasmine",
package/peak_flow.yml CHANGED
@@ -8,6 +8,7 @@ before_script:
8
8
  - npm install
9
9
  environment:
10
10
  NODE_ENV: test
11
+ VELOCIOUS_TEST_DIR: /home/build/project/spec
11
12
  services:
12
13
  mariadb:
13
14
  environment:
@@ -4,7 +4,8 @@ import TestRunner from "../../testing/test-runner.js"
4
4
 
5
5
  export default class VelociousCliCommandsTest extends BaseCommand {
6
6
  async execute() {
7
- const testFilesFinder = new TestFilesFinder({directory: `${this.directory()}/..`, processArgs: this.processArgs})
7
+ const directory = process.env.VELOCIOUS_TEST_DIR || this.directory()
8
+ const testFilesFinder = new TestFilesFinder({directory, processArgs: this.processArgs})
8
9
  const testFiles = await testFilesFinder.findTestFiles()
9
10
  const testRunner = new TestRunner({configuration: this.configuration, testFiles})
10
11