Skip to content

Commit e5bb1ed

Browse files
authored
Remove tests and test-related configuration from the public repository (#1612)
* Remove tests and test-related configuration from the public repository
1 parent 45ed5b8 commit e5bb1ed

530 files changed

Lines changed: 4797 additions & 75668 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.config/karma/base.js

Lines changed: 0 additions & 80 deletions
This file was deleted.

.config/karma/debug.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,15 @@ src/interpreter/plugin/3rdparty
99

1010
# Configurations
1111
*.config.js
12-
karma.*
1312
doc
14-
test/unit/_setupFiles/*.js
1513

1614
# Auto-generated directories
1715
commonjs
18-
coverage
1916
dist
2017
doc
2118
es
2219
languages
2320
lib
2421
script
25-
test-jasmine
26-
test-jest
2722
typedoc
2823
typings

.eslintrc.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,19 @@ module.exports = {
66
'@typescript-eslint',
77
'license-header',
88
'jsdoc',
9-
'jasmine',
10-
'jest',
119
],
1210
env: {
13-
jasmine: true,
14-
'jest/globals': true,
1511
},
1612
parserOptions: {
1713
tsconfigRootDir: __dirname,
18-
project: './tsconfig.test.json',
14+
project: './tsconfig.json',
1915
createDefaultProgram: true,
2016
},
2117
extends: [
2218
'eslint:recommended',
2319
'plugin:@typescript-eslint/eslint-recommended',
2420
'plugin:@typescript-eslint/recommended',
2521
'plugin:@typescript-eslint/recommended-requiring-type-checking',
26-
'plugin:jasmine/recommended',
27-
'plugin:jest/recommended',
28-
'plugin:jest/style',
2922
],
3023
rules: {
3124
// Automatic fixers
@@ -122,13 +115,6 @@ module.exports = {
122115
MethodDefinition: true,
123116
}
124117
}],
125-
'jest/no-jasmine-globals': 'off',
126-
'jest/no-alias-methods': 'off',
127-
'jest/no-conditional-expect': 'warn',
128-
'jest/no-standalone-expect': 'warn',
129-
'jest/no-test-prefixes': 'off',
130-
'jest/prefer-to-be': 'warn',
131-
'jest/prefer-to-have-length': 'off',
132118
},
133119
overrides: [
134120
{
@@ -143,11 +129,5 @@ module.exports = {
143129
'sort-keys': ['error', 'asc'],
144130
}
145131
},
146-
{
147-
files: ['**/*.spec.ts'],
148-
rules: {
149-
'@typescript-eslint/no-non-null-assertion': 'off',
150-
}
151-
}
152132
],
153133
}

.github/codecov.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/performance.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.idea/
22
.vscode
33
/commonjs/
4-
/coverage/
54
/dist/
65
/doc/
76
/docs/api/
@@ -13,8 +12,6 @@
1312
/es/
1413
/languages/
1514
/lib/
16-
/test-jasmine/
17-
/test-jest/
1815
node_modules/
1916
/typings/
2017
/storage/

.typedoc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
"exclude": [
3-
"./test/**",
43
"./src/interpreter/**",
54
"./src/i18n/**",
65
"./src/parser/**",

Makefile

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,16 @@ setup: ## Setup project
77
compile: ## Compile to javascript
88
@npm run compile
99

10-
test: ## Run tests
11-
@npm run test
10+
check: typecheck lint ## Check whether code is working correctly (types + lint)
1211

13-
unit: ## Run unit tests
14-
@npm run test:unit
15-
16-
test-ci: ## Separate test configuration for CI environment
17-
@npm run test
18-
19-
check: typecheck test ## Check whether code is working correctly (types + specs)
20-
21-
full: check lint-fix ## Check whether code is ready to commit (types + specs + lint)
12+
full: check lint-fix ## Check whether code is ready to commit (types + lint)
2213

2314
lint: ## Show linting errors
2415
@npm run lint
2516

2617
lint-fix: ## Fix linting errors
2718
@npm run lint:fix
2819

29-
coverage: ## Run tests and show coverage
30-
@npm run test:coverage
31-
3220
doc: ## Generate documentation
3321
@npm run typedoc:build
3422

@@ -65,6 +53,6 @@ verify-production-licenses:
6553
help: ## Show all make commands
6654
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
6755

68-
.PHONY: test coverage benchmark doc servedoc
56+
.PHONY: doc servedoc
6957

7058
.DEFAULT_GOAL := help

0 commit comments

Comments
 (0)