testem 3.15.1 → 3.15.2

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/lib/config.js CHANGED
@@ -325,7 +325,13 @@ class Config {
325
325
  if (this.appMode === 'dev' || this.get('ignore_missing_launchers')) {
326
326
  log.warn('Launcher "' + name + '" is not recognized.');
327
327
  } else {
328
- err = new Error('Launcher ' + name + ' not found. Not installed?');
328
+ err = new Error(
329
+ 'Launcher ' +
330
+ name +
331
+ ' not found. Not installed? Available: ' +
332
+ Object.keys(available).map(elm => `"${elm}"`).join(', ') +
333
+ '.'
334
+ );
329
335
  }
330
336
  } else {
331
337
  launchers.push(launcher);
@@ -136,10 +136,10 @@ class Server extends EventEmitter {
136
136
 
137
137
  this.injectMiddleware(app);
138
138
 
139
- this.configureProxy(app);
140
-
141
139
  app.use('/testem', express.static(`${__dirname}/../../public/testem`));
142
140
 
141
+ this.configureProxy(app);
142
+
143
143
  app.get('/', (req, res) => {
144
144
  res.redirect(`/${String(Math.floor(Math.random() * 10000))}`);
145
145
  });
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "unittest",
8
8
  "browser"
9
9
  ],
10
- "version": "3.15.1",
10
+ "version": "3.15.2",
11
11
  "author": "Toby Ho <airportyh@gmail.com>",
12
12
  "repository": {
13
13
  "type": "git",
@@ -70,7 +70,7 @@
70
70
  "chai": "^4.0.2",
71
71
  "chai-files": "^1.2.0",
72
72
  "chai-shallow-deep-equal": "^1.4.4",
73
- "cheerio": "^1.0.0-rc.2",
73
+ "cheerio": "1.0.0-rc.12",
74
74
  "dirty-chai": "^2.0.0",
75
75
  "eslint": "^8.12.0",
76
76
  "eslint-plugin-chai-expect": "^3.0.0",
@@ -79,7 +79,7 @@
79
79
  "request": "^2.51.0",
80
80
  "saucie": "^3.3.3",
81
81
  "shelljs": "^0.8.2",
82
- "sinon": "^15.0.0",
82
+ "sinon": "10.0.0",
83
83
  "sinon-chai": "^3.2.0",
84
84
  "socket.io-client": "^4.1.2",
85
85
  "tape": "^5.2.2"