UNPKG

starwars-cli

Version:
291 lines (279 loc) 13.1 kB
# Snapshot report for `tests/test.js` The actual snapshot is saved in `test.js.snap`. Generated by [AVA](https://avajs.dev). ## displays all ascii > Snapshot 1 [ { art: ` ___ ␊ / ()\\ ␊ _|_____|_ ␊ | | === | | ␊ |_| O |_| ␊ || O || ␊ ||__*__|| ␊ |~ \\___/ ~| ␊ /=\\ /=\\ /=\\ ␊ ___[_]_[_]_[_]___`, color: 'blue', credit: 'Unknown', keywords: 'r2-d2, droid, droids, character, astromech, republic, resistance, rebellion', link: 'https://starwars.fandom.com/wiki/R2-D2', title: 'R2-D2', }, { art: ` ________␊ _,.-Y | | Y-._␊ .-~" || | | | "-.␊ I" ""=="|" !""! "|"[]""| _____␊ L__ [] |..------|: _[----I" .-{"-.␊ I___| ..| l______|l_ [__L]_[I_/r(=}=-P␊ [L______L_[________]______j~ '-=c_]/=-^␊ \\_I_j.--.\\==I|I==_/.--L_]␊ [_((==)[\`-----"](==)j␊ I--I"~~"""~~"I--I␊ |[]| |[]|␊ l__j l__j␊ |!!| |!!|␊ |..| |..|␊ ([]) ([])␊ ]--[ ]--[␊ [_L] [_L] ␊ /|..|\\ /|..|\\␊ \`=}--{=' \`=}--{='␊ .-^--r-^-. .-^--r-^-.␊ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`, color: 'red', credit: 'Unknown', keywords: 'at-at, empire, walker, vehicle, vehicles', link: 'https://starwars.fandom.com/wiki/All_Terrain_Armored_Transport', title: 'AT-AT', }, { art: ` __␊ .-.__ \\ .-. ___ __␊ |_| '--.-.-( \\/\\;;\\_\\.-._______.-.␊ (-)___ \\ \\ .-\\ \\;;\\( \\ \\ \\␊ Y '---._\\_((Q)) \\;;\\\\ .-\\ __(_)␊ I __'-' / .--.((Q))---' \\,␊ I ___.-: \\| | \\'-'_ \\␊ A .-' \\ .-.\\ \\ \\ \\ '--.__ '\\␊ | |____.----((Q))\\ \\__|--\\_ \\ '␊ ( ) '-' \\_ : \\-' '--.___\\␊ Y \\ \\ \\ \\(_)␊ I \\ \\ \\ \\,␊ I \\ \\ \\ \\␊ A \\ \\ \\ '\\␊ | \\ \\__| '␊ \\_:. \\␊ \\ \\ \\␊ \\ \\ \\␊ \\_\\_|␊ `, color: 'white', credit: 'Shanaka Dias', keywords: 'x-wing, xwing, republic, resistance, rebellion, vehicle, vehicles', link: 'https://starwars.fandom.com/wiki/X-wing_starfighter', title: 'X-wing Starfighter', }, { art: ` _____␊ ___/O O\\____␊ / O O \\␊ \\______________/␊ -===|____\\///\\\\\\/_____␊ \\----------------/␊ \\______________/ \\/␊ /\\__________/ //␊ >=o\\ // //\\\\ || \\\\ //␊ \\\\o/ // \\o || \\o//␊ // || ||␊ /o==o |o \\o==o␊ // // \\\\␊ /\\ // /\\␊ /\\␊ `, color: 'grey', credit: 'Lennert Stock', keywords: 'viper, probe droid, droid, droids, empire, character', link: 'https://starwars.fandom.com/wiki/Viper_probe_droid', title: 'Viper Probe Droid (XJ9-CS14)', }, { art: `. . . . . .␊ . . . . . .␊ . . . . . . .␊ _________________ ____ __________␊ . . / | / \\ . | \\␊ . / ______ _____| . / \\ | ___ | . .␊ \\ \\ | | / /\\ \\ | |___> |␊ . \\ \\ | | / /__\\ \\ . | _/ .␊ . ________> | | | . / \\ | |\\ \\_______ .␊ | / | | / ______ \\ | | \\ |␊ |___________/ |___| /____/ \\____\\ |___| \\__________| .␊ . ____ __ . _____ ____ . __________ . _________␊ \\ \\ / \\ / / / \\ | \\ / | .␊ \\ \\/ \\/ / / \\ | ___ | / ______| .␊ \\ / / /\\ \\ . | |___> | \\ \\␊ . \\ / / /__\\ \\ | _/. \\ \\ +␊ \\ /\\ / / \\ | |\\ \\______> | .␊ \\ / \\ / / ______ \\ | | \\ / .␊ . . \\/ \\/ /____/ \\____\\ |___| \\____________/ ␊ . .␊ . . . . .␊ . . .␊ `, color: 'yellow', credit: 'Lennert Stock', keywords: 'text, logo, title, starwarslogo', link: 'https://starwars.fandom.com/wiki/Star_Wars', title: 'Star Wars Logo', }, { art: ` ________␊ =[________]========-------[]<--␊ | ___ |␊ |==| ||␊ |==| _| |␊ |==|| |␊ | || |␊ | || |␊ | ~~ |␊ |________|␊ __L________\\_␊ <_|_L___/ | |,␊ |__\\_____|_|___␊ /L___________ \`---._________␊ | | .----. _ |---v--.______ _ \`-------------.--.__␊ [| | | |(_) |]__[_____]____________________]__ __]␊ | |___________|---^--'_________.-------------\`--'␊ \\L______________.---'␊ __|__/_ | |␊ <_|_L___\\___|_|'␊ L________/␊ | |␊ | _ |␊ | || |␊ | || |␊ |==||_ |␊ |==| | |␊ |==|__||␊ |______|␊ =[________]========-------[]<--`, color: 'white', credit: 'Lennert Stock', keywords: 'republic, resistance, rebellion, vehicle, vehicles', link: 'https://starwars.fandom.com/wiki/X-wing_starfighter', title: 'X-wing Starfighter (alt view)', }, { art: ` .-. .-.␊ .=========.␊ ||.-. .-.||␊ ||\`-' \`-'||␊ \`========='␊ \`-'| |\`-'␊ ______ | | ______␊ / /\\__| |__/\\ \\␊ / \\_ / / |_| \\ \\ _/ \\␊ /___(\\\\\\/ \\///)___\\␊ \\____\\\\\`==========='//____/␊ / '/ .-------. \\\\ \\␊ __/ //. \\\`+---+'/ .\\\\ \\__␊ /\\ \\ ///x\`.\\|___|/.'x\\\\\\ / /\\␊ / \\ \\ //\`-._//| |\\\\_.-'\\\\ / / \\␊ / _.-==='_____//.-=-.\\\\_____\`===-._ \\␊ \\ \`-===.\\-. \\ \`-=-' / .-/.===-' /␊ \\ / / \\\\\\ \\ \\.===./ / /// \\ \\ /␊ \\/_/ \\\\\\ | /.---.\\ | /// \\_\\/␊ \\ \\\\\\|/ |_m_| \\|/// /␊ \\_____\\=============/_____/␊ /____/// ___ \\\\\\____\\␊ \\ (_//\\__|||||__/\\\\_) /␊ \\ / \\|,,|||||,,|/ \\ /␊ \\_____| | | |_____/␊ \`--' \`--'`, color: 'white', credit: 'Lennert Stock', keywords: 'empire, base, building', link: 'https://starwars.fandom.com/wiki/Main_Page', title: 'Imperial Base Plans - Exterior, Aerial View', }, { art: ` .......... @@@@@ @@@@@ ...........␊ ......... @ @ @ @ ..........␊ ........ @@@ @ @ ........␊ ....... @@ @ @ ........␊ ...... @@@@@@@ @@@@@ th .......␊ ..... ----------------------- .....␊ .... C E N T U R Y ....␊ ... ----------------------- ...␊ .. @@@@@ @@@@@ @ @ @@@@@ ..␊ == @ @ @ @ @ ==␊ __||__ @ @@@@ @ @ __||__␊ | | @ @ @ @ @ | |␊ _________|______|_____ @ @@@@@ @ @ @ _____|______|_________␊ `, color: 'yellow', credit: 'gabe565', keywords: 'text, logo, studio, intro, 20th century', link: 'https://starwars.fandom.com/wiki/20th_Century_Studios', title: '20th Century Fox Logo', }, { art: ` /~\\␊ |oo )␊ _\\=/_␊ ___ / _ \\␊ /() \\ //|/.\\|\\\\␊ _|_____|_ \\\\ \\_/ ||␊ | | === | | \\|\\ /| ||␊ |_| O |_| # _ _/ #␊ || O || | | |␊ ||__*__|| | | |␊ |~ \\___/ ~| []|[]␊ /=\\ /=\\ /=\\ | | |␊ [_]_[_]_[_] /_]_[_\\␊ `, color: 'white', credit: 'gabe565', keywords: 'r2-d2, c3p0, droid, droids, character, astromech, protocol droid, republic, resistance, rebellion', link: 'https://starwars.fandom.com/wiki/C-3PO', title: 'R2-D2 & C3P0', }, ] ## displays ascii from search > Snapshot 1 { art: `. . . . . .␊ . . . . . .␊ . . . . . . .␊ _________________ ____ __________␊ . . / | / \\ . | \\␊ . / ______ _____| . / \\ | ___ | . .␊ \\ \\ | | / /\\ \\ | |___> |␊ . \\ \\ | | / /__\\ \\ . | _/ .␊ . ________> | | | . / \\ | |\\ \\_______ .␊ | / | | / ______ \\ | | \\ |␊ |___________/ |___| /____/ \\____\\ |___| \\__________| .␊ . ____ __ . _____ ____ . __________ . _________␊ \\ \\ / \\ / / / \\ | \\ / | .␊ \\ \\/ \\/ / / \\ | ___ | / ______| .␊ \\ / / /\\ \\ . | |___> | \\ \\␊ . \\ / / /__\\ \\ | _/. \\ \\ +␊ \\ /\\ / / \\ | |\\ \\______> | .␊ \\ / \\ / / ______ \\ | | \\ / .␊ . . \\/ \\/ /____/ \\____\\ |___| \\____________/ ␊ . .␊ . . . . .␊ . . .␊ `, color: 'yellow', credit: 'Lennert Stock', keywords: 'text, logo, title, starwarslogo', link: 'https://starwars.fandom.com/wiki/Star_Wars', title: 'Star Wars Logo', } ## displays ascii from search that does not exist > Snapshot 1 undefined