Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow unsupported shell error in stateless.js compatibility tests #1360

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/compat/stateless.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function testShescapeEscape() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'escape' of undefined",
"Cannot read properties of undefined (reading 'escape')",
];
Expand All @@ -45,6 +46,7 @@ export function testShescapeEscapeAll() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'escapeAll' of undefined",
"Cannot read properties of undefined (reading 'escapeAll')",
];
Expand All @@ -69,6 +71,7 @@ export function testShescapeQuote() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'quote' of undefined",
"Cannot read properties of undefined (reading 'quote')",
"Quoting is not supported when no shell is used",
Expand All @@ -94,6 +97,7 @@ export function testShescapeQuoteAll() {
} catch (error) {
const known = [
"No executable could be found for ",
"Shescape does not support the shell ",
"Cannot read property 'quoteAll' of undefined",
"Cannot read properties of undefined (reading 'quoteAll')",
"Quoting is not supported when no shell is used",
Expand Down