Skip to content

Commit f1ab47e

Browse files
committed
Rename spec dir. to tests, spec files to int-tests
1 parent 20e757b commit f1ab47e

24 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ This will create three folders:
1515
#### Helpful development tasks
1616

1717
* `npm run watch` - this will do an initial build, then build on any changes to *src*
18-
* `npm run unittest` - test JS files in the */spec/unit* folder
19-
* `npm run test` - test JS files in the */spec/integration* AND */spec/unit* folders
18+
* `npm run unittest` - run tests in the */tests/unit* folder
19+
* `npm run test` - run tests in */tests/integration* AND */tests/unit* folders
2020
* tests require the following environment variables to be set:
2121
* `CLARIFAI_API_KEY`
2222
* `npm run clean` - empty and remove the folders created on build

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ gulp.task(
146146
);
147147

148148
gulp.task('test', function() {
149-
return gulp.src('./spec/*/*.js')
149+
return gulp.src('./tests/*/*.js')
150150
.pipe(jasmine({
151151
'includeStackTrace': true,
152152
'verbose': true,
@@ -165,7 +165,7 @@ gulp.task('test', function() {
165165
});
166166

167167
gulp.task('unittest', function() {
168-
return gulp.src('./spec/unit/*.js')
168+
return gulp.src('./tests/unit/*.js')
169169
.pipe(jasmine({
170170
'includeStackTrace': true,
171171
'verbose': true,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)