From c059268ecb6b3fe3a7a63bb9604d00b7641ccdea Mon Sep 17 00:00:00 2001 From: zerrrrr Date: Sun, 17 Mar 2019 03:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=8E=E8=8B=B1=E6=B3=BD-3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.js b/test/test.js index 7c01938c..a239a695 100644 --- a/test/test.js +++ b/test/test.js @@ -32,5 +32,8 @@ describe('jQuery', function () { it('should able to request https://raw.githubusercontent.com/FE-star/exercise1/master/test/test.js', function (done) { // 使用 jQuery.ajax 请求 https://raw.githubusercontent.com/FE-star/exercise1/master/test/test.js,并验证是否拿到文件 + $.get('https://raw.githubusercontent.com/FE-star/exercise1/master/test/test.js', function(){ + done() + }) }) }) \ No newline at end of file