mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
reorganize old client tests
This commit is contained in:
@@ -21,8 +21,6 @@ gulpfile.js
|
||||
Gruntfile.js
|
||||
newrelic.js
|
||||
|
||||
test/api-legacy/**/*
|
||||
test/common/simulations/**/*
|
||||
test/content/**/*
|
||||
test/server_side/**/*
|
||||
test/spec/**/*
|
||||
test/client-old/spec/**/*
|
||||
|
||||
@@ -34,7 +34,7 @@ module.exports = function karmaConfig (config) {
|
||||
'website/client-old/bower_components/habitica-markdown/dist/habitica-markdown.min.js',
|
||||
'common/dist/scripts/habitrpg-shared.js',
|
||||
|
||||
'test/spec/mocks/**/*.js',
|
||||
'test/client-old/spec/mocks/**/*.js',
|
||||
|
||||
'website/client-old/js/env.js',
|
||||
'website/client-old/js/app.js',
|
||||
@@ -46,8 +46,8 @@ module.exports = function karmaConfig (config) {
|
||||
'website/client-old/js/directives/**/*.js',
|
||||
'website/client-old/js/controllers/**/*.js',
|
||||
|
||||
'test/spec/specHelper.js',
|
||||
'test/spec/**/*.js',
|
||||
'test/client-old/spec/specHelper.js',
|
||||
'test/client-old/spec/**/*.js',
|
||||
],
|
||||
|
||||
// list of files / patterns to exclude
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
"test:karma:watch": "karma start",
|
||||
"test:prepare:webdriver": "webdriver-manager update",
|
||||
"test:e2e:webdriver": "webdriver-manager start",
|
||||
"test:e2e": "protractor test/e2e/protractor.conf.js",
|
||||
"test:e2e": "protractor test/client-old/e2e/protractor.conf.js",
|
||||
"test:nodemon": "gulp test:nodemon",
|
||||
"start": "gulp run:dev",
|
||||
"sprites": "gulp sprites:compile",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import fs from 'fs';
|
||||
import { resetHabiticaDB } from '../helpers/api-integration/mongo';
|
||||
import { resetHabiticaDB } from '../../helpers/api-integration/mongo';
|
||||
|
||||
before(async () => {
|
||||
await resetHabiticaDB();
|
||||
2
test/client-old/spec/mocks/translations.js
Normal file
2
test/client-old/spec/mocks/translations.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user