diff --git a/tests/specs/extensible/seajs-debug/a-debug.js b/tests/specs/extensible/seajs-debug/a-debug.js index 77931daf..41256555 100644 --- a/tests/specs/extensible/seajs-debug/a-debug.js +++ b/tests/specs/extensible/seajs-debug/a-debug.js @@ -1 +1 @@ -define({ name: 'a' }); +define({ name: 'a' }) \ No newline at end of file diff --git a/tests/specs/extensible/seajs-debug/main.js b/tests/specs/extensible/seajs-debug/main.js index 84b4b4b8..a41e457a 100644 --- a/tests/specs/extensible/seajs-debug/main.js +++ b/tests/specs/extensible/seajs-debug/main.js @@ -2,11 +2,9 @@ define(function(require) { var test = require('../../../test') - var a = require('./a') - var b = require('./b') + var a = require('./a-debug') test.assert(a.name === 'a', a.name) - test.assert(b.name === 'b', b.name) test.assert(document.getElementById('seajs-debug-console'), 'console div') @@ -21,13 +19,6 @@ define(function(require) { test.assert(seajs.find('seajs-find/xx')[1].name === '2', 'seajs.find') test.assert(seajs.find('seajs-find/zz').length === 0, 'seajs.find') - //console.log(require.resolve('./c')) - - require.async('./c', function(c) { - test.assert(c.name === 'c', c.name) - - document.cookie = 'seajs-debug=0``0; path=/; expires=' + new Date(0) - test.next() - }) + test.next() }) diff --git a/tests/specs/extensible/seajs-debug/test.html b/tests/specs/extensible/seajs-debug/test.html index e7cfa7b6..ab4cf88b 100644 --- a/tests/specs/extensible/seajs-debug/test.html +++ b/tests/specs/extensible/seajs-debug/test.html @@ -5,17 +5,15 @@ test -