Skip to content

Commit 814bf64

Browse files
committed
fix: fix outdated tests
1 parent f449f21 commit 814bf64

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
"homepage": "https://github.com/dumberjs/gulp-dumber#readme",
3232
"dependencies": {
3333
"concat-with-sourcemaps": "^1.1.0",
34-
"dumber": "^0.7.0",
34+
"dumber": "^0.7.12",
3535
"fancy-log": "^1.3.3",
3636
"plugin-error": "^1.0.1",
3737
"through2": "^3.0.0",
3838
"vinyl": "^2.2.0"
3939
},
4040
"devDependencies": {
4141
"browserify": "^16.2.3",
42-
"eslint": "^5.9.0",
42+
"eslint": "^5.10.0",
4343
"gulp": "^4.0.0",
4444
"nyc": "^13.1.0",
4545
"standard-changelog": "^2.0.6",

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ define.switchToPackageSpace();
7777
define('foo/index',[],function(){});define('foo',['foo/index'],function(m){return m;});
7878
define.switchToUserSpace();
7979
requirejs.config({
80-
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "dist",
80+
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "/dist",
8181
"bundles": {}
8282
});
8383
`);
@@ -148,7 +148,7 @@ define.switchToUserSpace();`);
148148
define.switchToUserSpace();
149149
define('app',['foo'],function(){});
150150
requirejs.config({
151-
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "dist",
151+
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "/dist",
152152
"bundles": {
153153
"vendor-bundle": {
154154
"user": [],
@@ -198,7 +198,7 @@ define('page/one',['bar'],function(){});`);
198198
define.switchToUserSpace();
199199
define('app',['foo'],function(){});
200200
requirejs.config({
201-
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "dist",
201+
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "/dist",
202202
"bundles": {
203203
"vendor-bundle": {
204204
"user": [],
@@ -255,7 +255,7 @@ define.switchToUserSpace();
255255
define('app',['foo', 'bar'],function(){});
256256
define('help',[],function(){});
257257
requirejs.config({
258-
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "dist",
258+
"baseUrl": (typeof REQUIREJS_BASE_URL === "string") ? REQUIREJS_BASE_URL : "/dist",
259259
"bundles": {
260260
"vendor-bundle": {
261261
"user": [],

0 commit comments

Comments
 (0)