-
-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: move test to the correct place
- Loading branch information
1 parent
0eade7a
commit 84b12b7
Showing
5 changed files
with
45 additions
and
22 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
crates/biome_js_formatter/tests/specs/js/module/expression/call_arguments.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
useImperativeHandle(ref, () => { | ||
return; | ||
}, []); |
41 changes: 41 additions & 0 deletions
41
crates/biome_js_formatter/tests/specs/js/module/expression/call_arguments.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
source: crates/biome_formatter_test/src/snapshot_builder.rs | ||
info: js/module/expression/call_arguments.js | ||
--- | ||
# Input | ||
|
||
```js | ||
useImperativeHandle(ref, () => { | ||
return; | ||
}, []); | ||
|
||
``` | ||
|
||
|
||
============================= | ||
|
||
# Outputs | ||
|
||
## Output 1 | ||
|
||
----- | ||
Indent style: Tab | ||
Indent width: 2 | ||
Line ending: LF | ||
Line width: 80 | ||
Quote style: Double Quotes | ||
JSX quote style: Double Quotes | ||
Quote properties: As needed | ||
Trailing commas: All | ||
Semicolons: Always | ||
Arrow parentheses: Always | ||
Bracket spacing: true | ||
Bracket same line: false | ||
Attribute Position: Auto | ||
----- | ||
|
||
```js | ||
useImperativeHandle(ref, () => { | ||
return; | ||
}, []); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,3 @@ expect( | |
bar; | ||
} | ||
).toThrow(ReferenceError); | ||
|
||
useImperativeHandle(ref, () => { | ||
return; | ||
}, []); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,3 @@ expect( | |
bar; | ||
}, | ||
).toThrow(ReferenceError); | ||
|
||
useImperativeHandle(ref, () => { | ||
return; | ||
}, []); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters