@@ -226,58 +226,3 @@ describe("paypal button aria-label", () => {
226
226
} ) ;
227
227
} ) ;
228
228
} ) ;
229
-
230
- // describe("paypal rebrand button", () => {
231
- // beforeEach(() => {
232
- // createTestContainer();
233
- // });
234
-
235
- // afterEach(() => {
236
- // destroyTestContainer();
237
- // });
238
-
239
- // it.only("should renders the legacy button when isPayPalRebrandEnabled is false", () => {
240
- // const mockPayPalRebrandExperiment = mockProp(
241
- // window.__TEST_FIRST_RENDER_EXPERIMENTS__,
242
- // "isPayPalRebrandEnabled",
243
- // false
244
- // );
245
-
246
- // const button = window.paypal.Buttons({});
247
-
248
- // return button.render("#testContainer").then(() => {
249
- // // assert.ok(getElementRecursive("paypal"));
250
- // mockPayPalRebrandExperiment.cancel();
251
- // });
252
- // });
253
-
254
- // it("should renders the legacy button when isPayPalRebrandEnabled is true and defaultBlueButtonColor is gold", () => {
255
- // const mockPayPalRebrandExperiment = mockProp(
256
- // window.__TEST_FIRST_RENDER_EXPERIMENTS__,
257
- // "isPayPalRebrandEnabled",
258
- // false
259
- // );
260
-
261
- // const button = window.paypal.Buttons({});
262
- // });
263
-
264
- // it("should renders the light-blue button when isPayPalRebrandEnabled is true and defaultBlueButtonColor is light-blue", () => {
265
- // const mockPayPalRebrandExperiment = mockProp(
266
- // window.__TEST_FIRST_RENDER_EXPERIMENTS__,
267
- // "isPayPalRebrandEnabled",
268
- // false
269
- // );
270
-
271
- // const button = window.paypal.Buttons({});
272
- // });
273
-
274
- // it("should renders the dark-blue button when isPayPalRebrandEnabled is true and defaultBlueButtonColor is dark-blue", () => {
275
- // const mockPayPalRebrandExperiment = mockProp(
276
- // window.__TEST_FIRST_RENDER_EXPERIMENTS__,
277
- // "isPayPalRebrandEnabled",
278
- // false
279
- // );
280
-
281
- // const button = window.paypal.Buttons({});
282
- // });
283
- // });
0 commit comments