mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: support JS.await (#12726)
This commit is contained in:
@ -114,6 +114,9 @@ fn should_test(path string, backend string) ShouldTestStatus {
|
||||
if path.ends_with('_test.v') {
|
||||
return .test
|
||||
}
|
||||
if path.ends_with('_test.js.v') {
|
||||
return .test
|
||||
}
|
||||
if path.ends_with('.v') && path.count('.') == 2 {
|
||||
if !path.all_before_last('.v').all_before_last('.').ends_with('_test') {
|
||||
return .ignore
|
||||
|
Reference in New Issue
Block a user