1- # ember-sinon-sandbox-codemod
2-
1+ # remove-sandbox-create
32
43## Usage
54
65```
7- npx ember-sinon-sandbox-codemod ember-sinon- sandbox-codemod path/of/files/ or/some**/*glob.js
6+ npx ember-sinon-sandbox-codemod remove- sandbox-create path/of/files/ or/some**/*glob.js
87
98# or
109
1110yarn global add ember-sinon-sandbox-codemod
12- ember-sinon-sandbox-codemod ember-sinon- sandbox-codemod path/of/files/ or/some**/*glob.js
11+ ember-sinon-sandbox-codemod remove- sandbox-create path/of/files/ or/some**/*glob.js
1312```
1413
1514## Input / Output
1615
1716<!-- FIXTURES_TOC_START-->
18- * [ sinon.sandbox.create.empty.beforeeach] ( #sinon.sandbox.create.empty.beforeeach )
19- * [ sinon.sandbox.create.funcref.beforeeach] ( #sinon.sandbox.create.funcref.beforeeach )
20- * [ sinon.sandbox.create.nonempty.beforeeach] ( #sinon.sandbox.create.nonempty.beforeeach )
21- * [ sinon.sandbox.restore.empty.aftereach] ( #sinon.sandbox.restore.empty.aftereach )
22- * [ sinon.sandbox.restore.nonempty.aftereach] ( #sinon.sandbox.restore.nonempty.aftereach )
23- <!-- FIXTURES_TOC_END-->
24-
25- <!-- FIXTURES_CONTENT_START-->
26- ---
17+
18+ - [ sinon.sandbox.create.empty.beforeeach] ( #sinon.sandbox.create.empty.beforeeach )
19+ - [ sinon.sandbox.create.funcref.beforeeach] ( #sinon.sandbox.create.funcref.beforeeach )
20+ - [ sinon.sandbox.create.nonempty.beforeeach] ( #sinon.sandbox.create.nonempty.beforeeach )
21+ - [ sinon.sandbox.restore.empty.aftereach] ( #sinon.sandbox.restore.empty.aftereach )
22+ - [ sinon.sandbox.restore.nonempty.aftereach] ( #sinon.sandbox.restore.nonempty.aftereach )
23+ <!-- FIXTURES_TOC_END-->
24+
25+ ## <!-- FIXTURES_CONTENT_START-->
26+
2727<a id =" sinon.sandbox.create.empty.beforeeach " >** sinon.sandbox.create.empty.beforeeach** </a >
2828
29- ** Input** (<small >[ sinon.sandbox.create.empty.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.empty.beforeeach.input.js ) </small >):
29+ ** Input** (<small >[ sinon.sandbox.create.empty.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.empty.beforeeach.input.js ) </small >):
30+
3031``` js
3132import { moduleForAcceptance , test } from ' ember-qunit' ;
3233
@@ -42,10 +43,10 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
4243test (' it happens' , function (assert ) {
4344 assert .ok (true );
4445});
45-
4646```
4747
48- ** Output** (<small >[ sinon.sandbox.create.empty.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.empty.beforeeach.output.js ) </small >):
48+ ** Output** (<small >[ sinon.sandbox.create.empty.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.empty.beforeeach.output.js ) </small >):
49+
4950``` js
5051import { moduleForAcceptance , test } from ' ember-qunit' ;
5152
@@ -54,12 +55,14 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {});
5455test (' it happens' , function (assert ) {
5556 assert .ok (true );
5657});
57-
5858```
59+
5960---
61+
6062<a id =" sinon.sandbox.create.funcref.beforeeach " >** sinon.sandbox.create.funcref.beforeeach** </a >
6163
62- ** Input** (<small >[ sinon.sandbox.create.funcref.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.funcref.beforeeach.input.js ) </small >):
64+ ** Input** (<small >[ sinon.sandbox.create.funcref.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.funcref.beforeeach.input.js ) </small >):
65+
6366``` js
6467import { moduleForAcceptance , test } from ' ember-qunit' ;
6568import { before } from ' ./before' ;
@@ -71,10 +74,10 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
7174test (' it happens' , function (assert ) {
7275 assert .ok (true );
7376});
74-
7577```
7678
77- ** Output** (<small >[ sinon.sandbox.create.funcref.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.funcref.beforeeach.output.js ) </small >):
79+ ** Output** (<small >[ sinon.sandbox.create.funcref.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.funcref.beforeeach.output.js ) </small >):
80+
7881``` js
7982import { moduleForAcceptance , test } from ' ember-qunit' ;
8083import { before } from ' ./before' ;
@@ -86,12 +89,14 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
8689test (' it happens' , function (assert ) {
8790 assert .ok (true );
8891});
89-
9092```
93+
9194---
95+
9296<a id =" sinon.sandbox.create.nonempty.beforeeach " >** sinon.sandbox.create.nonempty.beforeeach** </a >
9397
94- ** Input** (<small >[ sinon.sandbox.create.nonempty.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.nonempty.beforeeach.input.js ) </small >):
98+ ** Input** (<small >[ sinon.sandbox.create.nonempty.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.nonempty.beforeeach.input.js ) </small >):
99+
95100``` js
96101import { moduleForAcceptance , test } from ' ember-qunit' ;
97102
@@ -108,10 +113,10 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
108113test (' it happens' , function (assert ) {
109114 assert .ok (true );
110115});
111-
112116```
113117
114- ** Output** (<small >[ sinon.sandbox.create.nonempty.beforeeach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.create.nonempty.beforeeach.output.js ) </small >):
118+ ** Output** (<small >[ sinon.sandbox.create.nonempty.beforeeach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.create.nonempty.beforeeach.output.js ) </small >):
119+
115120``` js
116121import { moduleForAcceptance , test } from ' ember-qunit' ;
117122
@@ -124,12 +129,14 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
124129test (' it happens' , function (assert ) {
125130 assert .ok (true );
126131});
127-
128132```
133+
129134---
135+
130136<a id =" sinon.sandbox.restore.empty.aftereach " >** sinon.sandbox.restore.empty.aftereach** </a >
131137
132- ** Input** (<small >[ sinon.sandbox.restore.empty.aftereach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.restore.empty.aftereach.input.js ) </small >):
138+ ** Input** (<small >[ sinon.sandbox.restore.empty.aftereach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.restore.empty.aftereach.input.js ) </small >):
139+
133140``` js
134141import { moduleForAcceptance , test } from ' ember-qunit' ;
135142
@@ -147,10 +154,10 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
147154test (' it happens' , function (assert ) {
148155 assert .ok (true );
149156});
150-
151157```
152158
153- ** Output** (<small >[ sinon.sandbox.restore.empty.aftereach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.restore.empty.aftereach.output.js ) </small >):
159+ ** Output** (<small >[ sinon.sandbox.restore.empty.aftereach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.restore.empty.aftereach.output.js ) </small >):
160+
154161``` js
155162import { moduleForAcceptance , test } from ' ember-qunit' ;
156163
@@ -159,12 +166,14 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {});
159166test (' it happens' , function (assert ) {
160167 assert .ok (true );
161168});
162-
163169```
170+
164171---
172+
165173<a id =" sinon.sandbox.restore.nonempty.aftereach " >** sinon.sandbox.restore.nonempty.aftereach** </a >
166174
167- ** Input** (<small >[ sinon.sandbox.restore.nonempty.aftereach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.restore.nonempty.aftereach.input.js ) </small >):
175+ ** Input** (<small >[ sinon.sandbox.restore.nonempty.aftereach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.restore.nonempty.aftereach.input.js ) </small >):
176+
168177``` js
169178import { moduleForAcceptance , test } from ' ember-qunit' ;
170179
@@ -183,10 +192,10 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
183192test (' it happens' , function (assert ) {
184193 assert .ok (true );
185194});
186-
187195```
188196
189- ** Output** (<small >[ sinon.sandbox.restore.nonempty.aftereach.input.js] ( transforms/ember-sinon-sandbox-codemod/__testfixtures__/sinon.sandbox.restore.nonempty.aftereach.output.js ) </small >):
197+ ** Output** (<small >[ sinon.sandbox.restore.nonempty.aftereach.input.js] ( transforms/remove-sandbox-create/__testfixtures__/sinon.sandbox.restore.nonempty.aftereach.output.js ) </small >):
198+
190199``` js
191200import { moduleForAcceptance , test } from ' ember-qunit' ;
192201
@@ -199,6 +208,6 @@ moduleForAcceptance('foo', 'Acceptance | Foo', {
199208test (' it happens' , function (assert ) {
200209 assert .ok (true );
201210});
202-
203211```
204- <!-- FIXTURE_CONTENT_END-->
212+
213+ <!-- FIXTURE_CONTENT_END-->
0 commit comments