DEV: Update linting (#269)
This commit is contained in:
@@ -35,12 +35,14 @@ module("Subscriptions | payment-options", function (hooks) {
|
||||
|
||||
const testState = new State();
|
||||
|
||||
await render(<template>
|
||||
<PaymentOptions
|
||||
@plans={{plans}}
|
||||
@selectedPlan={{testState.selectedPlan}}
|
||||
/>
|
||||
</template>);
|
||||
await render(
|
||||
<template>
|
||||
<PaymentOptions
|
||||
@plans={{plans}}
|
||||
@selectedPlan={{testState.selectedPlan}}
|
||||
/>
|
||||
</template>
|
||||
);
|
||||
|
||||
assert.dom(".btn-discourse-subscriptions-subscribe").exists({ count: 2 });
|
||||
|
||||
|
||||
@@ -16,9 +16,11 @@ module("Subscriptions | payment-plan", function (hooks) {
|
||||
};
|
||||
let selectedPlan;
|
||||
|
||||
await render(<template>
|
||||
<PaymentPlan @plan={{plan}} @selectedPlan={{selectedPlan}} />
|
||||
</template>);
|
||||
await render(
|
||||
<template>
|
||||
<PaymentPlan @plan={{plan}} @selectedPlan={{selectedPlan}} />
|
||||
</template>
|
||||
);
|
||||
|
||||
assert
|
||||
.dom(".btn-discourse-subscriptions-subscribe")
|
||||
@@ -46,9 +48,11 @@ module("Subscriptions | payment-plan", function (hooks) {
|
||||
|
||||
const testState = new State();
|
||||
|
||||
await render(<template>
|
||||
<PaymentPlan @plan={{plan}} @selectedPlan={{testState.selectedPlan}} />
|
||||
</template>);
|
||||
await render(
|
||||
<template>
|
||||
<PaymentPlan @plan={{plan}} @selectedPlan={{testState.selectedPlan}} />
|
||||
</template>
|
||||
);
|
||||
|
||||
assert
|
||||
.dom(".btn-discourse-subscriptions-subscribe:first-child .interval")
|
||||
|
||||
Reference in New Issue
Block a user