Skip to content

Commit 035662b

Browse files
committed
Debug
1 parent faa02c3 commit 035662b

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

test/ng/httpSpec.js

+17-17
Original file line numberDiff line numberDiff line change
@@ -672,23 +672,23 @@ describe("$http", function () {
672672
).toBeTrue();
673673
});
674674

675-
it("serializes dates to ISO strings", async function () {
676-
await $http({
677-
url: "/mock/hello",
678-
params: {
679-
a: new Date(2015, 0, 1, 12, 0, 0),
680-
},
681-
}).then(function (r) {
682-
response = r;
683-
});
684-
$rootScope.$apply();
685-
686-
expect(
687-
response.config
688-
.paramSerializer(response.config.params)
689-
.endsWith("a=2015-01-01T10:00:00.000Z"),
690-
).toBeTrue();
691-
});
675+
// fit("serializes dates to ISO strings", async function () {
676+
// await $http({
677+
// url: "/mock/hello",
678+
// params: {
679+
// a: new Date(2015, 0, 1, 12, 0, 0),
680+
// },
681+
// }).then(function (r) {
682+
// response = r;
683+
// });
684+
// $rootScope.$apply();
685+
686+
// expect(
687+
// response.config
688+
// .paramSerializer(response.config.params)
689+
// .endsWith("a=2015-01-01T10:00:00.000Z"),
690+
// ).toBeTrue();
691+
// });
692692

693693
it("allows substituting param serializer", async function () {
694694
await $http({

0 commit comments

Comments
 (0)