-
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
263 additions
and
84 deletions.
There are no files selected for viewing
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,73 @@ | ||
# Snapshot report for `src/__tests__/index.test.ts` | ||
|
||
The actual snapshot is saved in `index.test.ts.snap`. | ||
|
||
Generated by [AVA](https://avajs.dev). | ||
|
||
## library | ||
|
||
> Snapshot 1 | ||
{ | ||
categories: { | ||
CLASH: 'Clash', | ||
LOON: 'Loon', | ||
QUANTUMULT_X: 'Quantumult X', | ||
QUANTUMULT_X_FILTER: 'Quantumult X Filter', | ||
QUANTUMULT_X_REWRITE: 'Quantumult X Rewrite', | ||
QUANTUMULT_X_SERVER: 'Quantumult X Server', | ||
SNIPPET: 'Snippet', | ||
SURFBOARD: 'Surfboard', | ||
SURGE: 'Surge', | ||
}, | ||
defineProvider: Function defineProvider {}, | ||
defineSurgioConfig: Function defineSurgioConfig {}, | ||
utils: { | ||
SortFilterWithSortedFilters: Function SortFilterWithSortedFilters {}, | ||
SortFilterWithSortedKeywords: Function SortFilterWithSortedKeywords {}, | ||
applyFilter: Function applyFilter {}, | ||
chinaBackFilter: Function chinaBackFilter {}, | ||
chinaOutFilter: Function chinaOutFilter {}, | ||
discardGlob: Function discardGlob {}, | ||
discardKeywords: Function discardKeywords {}, | ||
discardProviders: Function discardProviders {}, | ||
hkFilter: Function hkFilter {}, | ||
httpFilter: Function httpFilter {}, | ||
httpsFilter: Function httpsFilter {}, | ||
isAWS: Function isAWS {}, | ||
isAWSLambda: Function isAWSLambda {}, | ||
isFlyIO: Function isFlyIO {}, | ||
isGitHubActions: Function isGitHubActions {}, | ||
isGitLabCI: Function isGitLabCI {}, | ||
isHeroku: Function isHeroku {}, | ||
isNetlify: Function isNetlify {}, | ||
isNow: Function isNow {}, | ||
isRailway: Function isRailway {}, | ||
isVercel: Function isVercel {}, | ||
japanFilter: Function japanFilter {}, | ||
koreaFilter: Function koreaFilter {}, | ||
matchGlob: Function matchGlob {}, | ||
mergeFilters: Function mergeFilters {}, | ||
mergeSortedFilters: Function mergeSortedFilters {}, | ||
netflixFilter: Function netflixFilter {}, | ||
shadowsocksFilter: Function shadowsocksFilter {}, | ||
shadowsocksrFilter: Function shadowsocksrFilter {}, | ||
singaporeFilter: Function singaporeFilter {}, | ||
snellFilter: Function snellFilter {}, | ||
socks5Filter: Function socks5Filter {}, | ||
taiwanFilter: Function taiwanFilter {}, | ||
trojanFilter: Function trojanFilter {}, | ||
tuicFilter: Function tuicFilter {}, | ||
usFilter: Function usFilter {}, | ||
useGlob: Function useGlob {}, | ||
useKeywords: Function useKeywords {}, | ||
useProviders: Function useProviders {}, | ||
useRegexp: Function useRegexp {}, | ||
useSortedKeywords: Function useSortedKeywords {}, | ||
v2rayFilter: Function v2rayFilter {}, | ||
validateFilter: Function validateFilter {}, | ||
vmessFilter: Function vmessFilter {}, | ||
wireguardFilter: Function wireguardFilter {}, | ||
youtubePremiumFilter: Function {}, | ||
}, | ||
} |
Binary file not shown.
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,7 @@ | ||
import test from 'ava' | ||
|
||
import * as surgio from '../' | ||
|
||
test('library', (t) => { | ||
t.snapshot(surgio) | ||
}) |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.