Change default zap amount
This commit is contained in:
@@ -31,7 +31,7 @@ function satsToSlider(sats) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_SLIDER_POSITION = satsToSlider(1000);
|
const DEFAULT_SLIDER_POSITION = satsToSlider(100);
|
||||||
|
|
||||||
export default class ZapPhotoModal extends Component {
|
export default class ZapPhotoModal extends Component {
|
||||||
@service nostrZap;
|
@service nostrZap;
|
||||||
|
|||||||
@@ -114,8 +114,8 @@ module('Integration | Component | zap-photo-modal', function (hooks) {
|
|||||||
);
|
);
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
zapSpy.firstCall.args[1],
|
zapSpy.firstCall.args[1],
|
||||||
1_000_000,
|
100_000,
|
||||||
'zap amount is 1000 sats in millisats'
|
'zap amount is 100 sats in millisats'
|
||||||
);
|
);
|
||||||
|
|
||||||
await waitFor('.qr-code-container');
|
await waitFor('.qr-code-container');
|
||||||
|
|||||||
Reference in New Issue
Block a user