testem 3.20.2 → 3.21.1

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 CHANGED
@@ -7,7 +7,7 @@
7
7
  "unittest",
8
8
  "browser"
9
9
  ],
10
- "version": "3.20.2",
10
+ "version": "3.21.1",
11
11
  "author": "Toby Ho <airportyh@gmail.com>",
12
12
  "repository": {
13
13
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "url": "https://github.com/testem/testem/issues"
18
18
  },
19
19
  "engines": {
20
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
20
+ "node": "^20.19.0 || ^22.12.0 || ^24.0.0 || >= 26.0.0"
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
@@ -31,20 +31,18 @@
31
31
  "execa": "^9.6.1",
32
32
  "express": "^5.2.1",
33
33
  "glob": "^13.0.6",
34
- "http-proxy": "^1.18.1",
35
- "js-yaml": "^4.1.1",
34
+ "httpxy": "^0.5.5",
35
+ "js-yaml": "^5.3.0",
36
36
  "lodash": "^4.18.1",
37
37
  "minimatch": "^10.2.5",
38
- "mkdirp": "^3.0.1",
39
38
  "mustache": "^4.2.0",
40
- "toasted-notifier": "^10.1.0",
41
- "printf": "^0.6.1",
42
39
  "proc-log": "^6.1.0",
43
40
  "rimraf": "^6.1.3",
44
41
  "socket.io": "^4.8.3",
45
42
  "spawn-args": "^0.2.0",
46
43
  "styled_string": "0.0.1",
47
- "tap-parser": "^18.3.0"
44
+ "tap-parser": "^18.3.0",
45
+ "toasted-notifier": "^10.1.0"
48
46
  },
49
47
  "files": [
50
48
  "lib",
@@ -52,8 +50,7 @@
52
50
  "README.md",
53
51
  "testem.js",
54
52
  "assets",
55
- "package.json",
56
- "views"
53
+ "package.json"
57
54
  ],
58
55
  "scripts": {
59
56
  "test": "mocha tests/*_tests.js tests/**/*_tests.js",
@@ -61,6 +58,8 @@
61
58
  "cover": "cover run ./node_modules/.bin/_mocha tests/*_tests.js tests/**/*_tests.js; cover report html; open cover_html/index.html",
62
59
  "integration": "node ./bin/run-integration.js",
63
60
  "ci:safari-smoke": "node ./scripts/safari-ci-smoke.js",
61
+ "ci:legacy-phantomjs": "node ./scripts/legacy-phantomjs-ci-smoke.js",
62
+ "ci:legacy-ie": "node ./scripts/legacy-ie-sauce-smoke.js",
64
63
  "browser-tests": "cd examples/saucelabs/ && ../../testem.js ci -d",
65
64
  "lint": "eslint ."
66
65
  },
@@ -68,30 +67,23 @@
68
67
  "@eslint/eslintrc": "^3.3.5",
69
68
  "@eslint/js": "^10.0.1",
70
69
  "chai": "^6.2.2",
71
- "chai-files": "^1.4.0",
72
- "chai-shallow-deep-equal": "^1.4.6",
73
70
  "cheerio": "^1.2.0",
74
71
  "dirty-chai": "^3.0.0",
75
- "esbuild": "^0.27.4",
76
- "esbuild-plugins-node-modules-polyfill": "^1.8.1",
72
+ "esbuild": "^0.28.2",
73
+ "esbuild-plugins-node-modules-polyfill": "^1.8.3",
77
74
  "eslint": "^10.2.0",
78
75
  "eslint-config-prettier": "^10.1.8",
79
76
  "eslint-plugin-chai-expect": "^4.0.0",
80
- "eslint-plugin-mocha": "^11.2.0",
77
+ "eslint-plugin-mocha": "^12.0.2",
81
78
  "fresh-tape": "^5.9.1",
82
- "mocha": "^11.7.5",
79
+ "jasmine-core": "^5.1.0",
80
+ "mocha": "^12.0.0",
81
+ "qunit": "^2.26.0",
83
82
  "saucie": "^4.1.0",
84
83
  "sinon": "^21.0.3",
85
84
  "sinon-chai": "^4.0.1",
86
85
  "socket.io-client": "^4.8.3"
87
86
  },
88
- "overrides": {
89
- "mocha": {
90
- "diff": "^8.0.3",
91
- "minimatch": "^9.0.7",
92
- "serialize-javascript": "^7.0.5"
93
- }
94
- },
95
87
  "bin": {
96
88
  "testem": "./testem.js"
97
89
  },
@@ -7,11 +7,17 @@ Testem's adapter for Jasmine. It works by adding a custom reporter.
7
7
 
8
8
  */
9
9
 
10
- /* globals emit, jasmine */
10
+ /* globals emit, jasmine, console */
11
11
  /* exported jasmineAdapter */
12
12
  'use strict';
13
13
 
14
14
  function jasmineAdapter() {
15
+ if (!jasmineAdapter._deprecationWarned) {
16
+ jasmineAdapter._deprecationWarned = true;
17
+ if (typeof console !== 'undefined' && console.warn) {
18
+ console.warn('Testem: the Jasmine 1.x adapter is deprecated and will be removed in the next version of Testem. Upgrade to Jasmine 2+ (jasmine-core) so Testem can use the jasmine2 adapter.');
19
+ }
20
+ }
15
21
 
16
22
  var results = {
17
23
  failed: 0,
@@ -1,12 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>Test'em</title>
5
- <script src="/testem.js"></script>
6
- {{#scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/scripts}}
7
- {{#styles}}<link rel="stylesheet" href="{{.}}">{{/styles}}
8
- </head>
9
- <body>
10
- </body>
11
- {{#footer_scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/footer_scripts}}
12
- </html>
@@ -1,4 +0,0 @@
1
- <h1>Files In This Directory</h1>
2
- <ul>
3
- {{#files}}<li><a href="{{.}}">{{.}}</a></li>{{/files}}
4
- </ul>
@@ -1,20 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>Test'em</title>
5
- <script src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.4.1/jasmine.js"></script>
6
- <script src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.4.1/jasmine-html.js"></script>
7
- <script src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.4.1/boot.js"></script>
8
- <script src="/testem.js"></script>
9
-
10
- {{#scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/scripts}}
11
-
12
- <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.4.1/jasmine.css">
13
-
14
- {{#styles}}<link rel="stylesheet" href="{{.}}">{{/styles}}
15
- </head>
16
- <body>
17
- <div id="jasmine_content"></div>
18
- </body>
19
- {{#footer_scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/footer_scripts}}
20
- </html>
@@ -1,19 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>Test'em</title>
5
- <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/mocha/2.3.4/mocha.css">
6
- <script src="//cdnjs.cloudflare.com/ajax/libs/mocha/2.3.4/mocha.js"></script>
7
- <script src="//cdnjs.cloudflare.com/ajax/libs/chai/3.4.1/chai.js"></script>
8
- <script src="/testem.js"></script>
9
- <script>mocha.setup('bdd')</script>
10
- {{#scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/scripts}}
11
- </head>
12
- <body>
13
- <div id="mocha"></div>
14
- {{#footer_scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/footer_scripts}}
15
- <script>
16
- mocha.run()
17
- </script>
18
- </body>
19
- </html>
@@ -1,19 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>Test'em</title>
5
- <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/mocha/2.3.4/mocha.css">
6
- <script src="//cdnjs.cloudflare.com/ajax/libs/mocha/2.3.4/mocha.js"></script>
7
- <script src="/testem.js"></script>
8
- <script>mocha.setup('bdd')</script>
9
- {{#scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/scripts}}
10
- {{#styles}}<link rel="stylesheet" href="{{.}}">{{/styles}}
11
- </head>
12
- <body>
13
- <div id="mocha"></div>
14
- {{#footer_scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/footer_scripts}}
15
- <script>
16
- mocha.run()
17
- </script>
18
- </body>
19
- </html>
@@ -1,16 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title>Test'em</title>
5
- <script src="//code.jquery.com/qunit/qunit-1.20.0.js"></script>
6
- <script src="/testem.js"></script>
7
- {{#scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/scripts}}
8
- <link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.20.0.css"/>
9
- {{#styles}}<link rel="stylesheet" href="{{.}}">{{/styles}}
10
- </head>
11
- <body>
12
- <div id="qunit"></div>
13
- <div id="qunit-fixture"></div>
14
- </body>
15
- {{#footer_scripts}}<script src="{{{src}}}"{{#attrs}} {{&.}}{{/attrs}}></script>{{/footer_scripts}}
16
- </html>