Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
This commit is contained in:
SebastianKrupinski 2024-09-14 11:59:01 -04:00
Родитель ede4628066
Коммит c95bc2efa3
6 изменённых файлов: 0 добавлений и 164 удалений

Просмотреть файл

@ -1,8 +0,0 @@
# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
# SPDX-License-Identifier: AGPL-3.0-only
node_modules
l10n
vendor
js/vendor
js/mail.min.js

Просмотреть файл

@ -1,29 +0,0 @@
{
"camelcase": false,
"eqeqeq": true,
"immed": true,
"latedef": false,
"noarg": true,
"nonbsp": true,
"undef": true,
"unused": true,
"trailing": true,
"maxparams": 5,
"curly": true,
"maxlen": 120,
"indent": 4,
"browser": true,
"globals": {
"console": true,
"it": true,
"xit": true,
"expect": true,
"describe": true,
"define": true,
"beforeEach": true,
"afterEach": true,
"require": true
},
"esversion": 6,
"asi": true
}

Просмотреть файл

@ -17,10 +17,6 @@ codecov.yml
.hg
/issue_template.md
/jest.config.js
/.jscsrc
/.jshintignore
/.jshintrc
/karma.conf.js
/krankerl.toml
/l10n/no-php
/.tx
@ -30,7 +26,6 @@ codecov.yml
/package.json
/package-lock.json
/phpunit*xml
/postcss.config.js
/psalm.xml
/rector.php
/renovate.json

Просмотреть файл

@ -1,37 +0,0 @@
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
/* global module */
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc'
},
all: ['Gruntfile.js', 'js/*.js', 'js/models/*.js', 'js/views/*.js',
'!js/build/build.js', '!js/webpack.*.js']
},
karma: {
unit: {
configFile: 'karma.conf.js',
autoWatch: true
},
continuous: {
configFile: 'karma.conf.js',
browsers: ['PhantomJS'],
singleRun: true,
}
}
});
// jshint
grunt.loadNpmTasks('grunt-contrib-jshint');
// Karma unit tests
grunt.loadNpmTasks('grunt-karma');
// Default task
grunt.registerTask('default', ['jshint', 'karma:continuous']);
};

Просмотреть файл

@ -1,76 +0,0 @@
/**
* SPDX-FileCopyrightText: 2016-2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2015-2016 owncloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
// Karma configuration
// Generated on Tue Sep 01 2015 13:54:51 GMT+0200 (CEST)
var webpackConfig = require('./js/webpack.dev.config.js');
webpackConfig.entry = './js/tests/test_init.js';
webpackConfig.module.rules.push({
test: /\.js$/,
exclude: /init\.js/
});
module.exports = function (config) {
config.set({
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine-ajax', 'jasmine', 'sinon'],
files: [
{pattern: 'js/tests/test-main.js', included: true},
// all files ending in "_test"
{pattern: 'js/tests/*_spec.js', watched: false},
{pattern: 'js/tests/**/*_spec.js', watched: false},
{pattern: 'js/build/build.js', included: false}
],
// list of files to exclude
exclude: [
'js/webpack.*.js',
'js/init.js'
],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'js/**[!vendor]/*[!spec].js': ['coverage', 'sourcemap'],
// add webpack as preprocessor
'js/tests/*_spec.js': ['webpack', 'sourcemap'],
'js/tests/**/*_spec.js': ['webpack', 'sourcemap']
},
webpackMiddleware: {
// webpack-dev-middleware configuration
// i. e.
stats: 'errors-only'
},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcov',
dir: 'coverage/'
},
// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['PhantomJS'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
webpack: webpackConfig
});
};

Просмотреть файл

@ -1,9 +0,0 @@
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
module.exports = {
plugins: {
autoprefixer: {}
}
}