- Notifications
You must be signed in to change notification settings - Fork20.6k
Commitd38528b
authored
Tests: Fix tests for not auto-executing scripts without dataType
Two issues are fixed in testing for responses with a script Content-Type notgetting auto-executed unless an explicit `dataType: "script"` is provided:* the test is now using a correct "text/javascript" Content-Type; it was using "text/html" until now which doesn't really check if the fix works* the Node.js based version of the tests didn't account for an empty `header` query string parameterClosesgh-4824Refgh-2432Refgh-2588Ref39cdb8c1 parent3bbbc11 commitd38528b
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
|
0 commit comments
Comments
(0)