mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 23:59:01 +02:00
Merge pull request #165 from sharelatex/ja-move-unit-tests
Move test/UnitTests -> unit/test
This commit is contained in:
@@ -38,7 +38,7 @@ data/*
|
||||
|
||||
app.js
|
||||
app/js/*
|
||||
test/UnitTests/js/*
|
||||
test/unit/js/*
|
||||
test/smoke/js/*
|
||||
test/acceptance/js/*
|
||||
cookies.txt
|
||||
|
||||
@@ -131,9 +131,9 @@ module.exports = (grunt) ->
|
||||
unit_tests:
|
||||
expand: true,
|
||||
flatten: false,
|
||||
cwd: 'test/UnitTests/coffee',
|
||||
cwd: 'test/unit/coffee',
|
||||
src: ['**/*.coffee'],
|
||||
dest: 'test/UnitTests/js/',
|
||||
dest: 'test/unit/js/',
|
||||
ext: '.js'
|
||||
|
||||
acceptance_tests:
|
||||
@@ -220,12 +220,12 @@ module.exports = (grunt) ->
|
||||
|
||||
clean:
|
||||
app: ["app/js"]
|
||||
unit_tests: ["test/UnitTests/js"]
|
||||
unit_tests: ["test/unit/js"]
|
||||
acceptance_tests: ["test/acceptance/js"]
|
||||
|
||||
mochaTest:
|
||||
unit:
|
||||
src: ["test/UnitTests/js/#{grunt.option('feature') or '**'}/*.js"]
|
||||
src: ["test/unit/js/#{grunt.option('feature') or '**'}/*.js"]
|
||||
options:
|
||||
reporter: grunt.option('reporter') or 'spec'
|
||||
grep: grunt.option("grep")
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user