Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 5174f02

Browse files
committed
Remove unused ninon sandbox from settings unit tests
1 parent 944b83b commit 5174f02

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/unit/action/setting.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,14 @@ describe('Action Setting Unit Test', () => {
88
let wallet;
99
let db;
1010
let setting;
11-
let sandbox;
1211

1312
beforeEach(() => {
14-
sandbox = sinon.createSandbox({});
1513
store = new Store();
1614
wallet = sinon.createStubInstance(WalletAction);
1715
db = sinon.createStubInstance(AppStorage);
1816
setting = new SettingAction(store, wallet, db);
1917
});
2018

21-
afterEach(() => {
22-
sandbox.restore();
23-
});
24-
2519
describe('setBitcoinUnit()', () => {
2620
it('should set a valid unit and save settings', () => {
2721
setting.setBitcoinUnit({ unit: 'sat' });

0 commit comments

Comments
 (0)