hypha-rpc 0.20.71 → 0.20.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.eslintrc +0 -4
- package/.prettierignore +0 -3
- package/bin/mc.20221029T100923Z +0 -0
- package/bin/mc.20250408T153949Z +0 -0
- package/bin/minio.20221024T183507Z +0 -0
- package/bin/minio.20240716T234641Z +0 -0
- package/karma.conf.js +0 -114
- package/report.html +0 -39
- package/tests/.eslintrc.js +0 -8
- package/tests/server_compatibility_test.js +0 -105
- package/tests/utils_test.js +0 -205
- package/tests/websocket_client_test.js +0 -921
- package/wait-for-server.js +0 -89
- package/webpack.config.js +0 -60
package/package.json
CHANGED
package/.eslintrc
DELETED
package/.prettierignore
DELETED
package/bin/mc.20221029T100923Z
DELETED
|
Binary file
|
package/bin/mc.20250408T153949Z
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/karma.conf.js
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
// Karma configuration
|
|
2
|
-
// Generated on Sun Mar 08 2020 02:01:17 GMT+0100 (GMT+01:00)
|
|
3
|
-
var webpackConfig = require('./webpack.config.js');
|
|
4
|
-
|
|
5
|
-
module.exports = function (config) {
|
|
6
|
-
config.set({
|
|
7
|
-
|
|
8
|
-
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
9
|
-
basePath: '',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
// frameworks to use
|
|
13
|
-
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
14
|
-
frameworks: ['mocha'],
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
// list of files / patterns to load in the browser
|
|
18
|
-
files: [
|
|
19
|
-
// only specify one entry point
|
|
20
|
-
// and require all tests in there
|
|
21
|
-
'tests/*_test.js',
|
|
22
|
-
{
|
|
23
|
-
pattern: 'src/*.js',
|
|
24
|
-
watched: false,
|
|
25
|
-
included: false,
|
|
26
|
-
served: true,
|
|
27
|
-
nocache: false
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
|
|
31
|
-
proxies: {
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
// list of files / patterns to exclude
|
|
36
|
-
exclude: [],
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
// preprocess matching files before serving them to the browser
|
|
40
|
-
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
41
|
-
preprocessors: {
|
|
42
|
-
// add webpack as preprocessor
|
|
43
|
-
'tests/*_test.js': ['webpack', 'sourcemap'],
|
|
44
|
-
'src/*.js': ['webpack', 'sourcemap' ]
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
webpack: webpackConfig,
|
|
48
|
-
|
|
49
|
-
webpackMiddleware: {
|
|
50
|
-
// webpack-dev-middleware configuration
|
|
51
|
-
// i. e.
|
|
52
|
-
stats: 'errors-only',
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
// test results reporter to use
|
|
57
|
-
// possible values: 'dots', 'progress'
|
|
58
|
-
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
59
|
-
reporters: ["spec"],
|
|
60
|
-
specReporter: {
|
|
61
|
-
maxLogLines: 5, // limit number of lines logged per test
|
|
62
|
-
suppressErrorSummary: true, // do not print error summary
|
|
63
|
-
suppressFailed: false, // do not print information about failed tests
|
|
64
|
-
suppressPassed: false, // do not print information about passed tests
|
|
65
|
-
suppressSkipped: true, // do not print information about skipped tests
|
|
66
|
-
showSpecTiming: false // print the time elapsed for each spec
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
// web server port
|
|
71
|
-
port: 9876,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// enable / disable colors in the output (reporters and logs)
|
|
75
|
-
colors: true,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
// level of logging
|
|
79
|
-
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
80
|
-
logLevel: config.LOG_INFO,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// enable / disable watching file and executing tests whenever any file changes
|
|
84
|
-
autoWatch: true,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
// start these browsers
|
|
88
|
-
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
89
|
-
browsers: ['ChromeHeadlessNoSandbox', 'FirefoxHeadless', 'ChromeDebugging'],
|
|
90
|
-
|
|
91
|
-
customLaunchers: {
|
|
92
|
-
ChromeHeadlessNoSandbox: {
|
|
93
|
-
base: 'ChromeHeadless',
|
|
94
|
-
flags: ["--no-sandbox"]
|
|
95
|
-
},
|
|
96
|
-
ChromeDebugging: {
|
|
97
|
-
base: 'Chrome',
|
|
98
|
-
flags: [ '--remote-debugging-port=9333' ]
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
// Continuous Integration mode
|
|
103
|
-
// if true, Karma captures browsers, runs the tests and exits
|
|
104
|
-
singleRun: false,
|
|
105
|
-
|
|
106
|
-
// Concurrency level
|
|
107
|
-
// how many browser should be started simultaneous
|
|
108
|
-
concurrency: Infinity,
|
|
109
|
-
captureTimeout: 12000,
|
|
110
|
-
browserDisconnectTolerance: 2,
|
|
111
|
-
browserDisconnectTimeout: 40000,
|
|
112
|
-
browserNoActivityTimeout: 40000,
|
|
113
|
-
})
|
|
114
|
-
}
|