Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GNOME/gjs
/ throwSyntaxError
Function
throwSyntaxError
installed-tests/js/testExceptions.js:164–166 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
162
163
describe(
'Syntax Error'
,
function
() {
164
function
throwSyntaxError() {
165
Reflect.parse(
'!@#$%^&'
);
166
}
167
168
it(
'logs a SyntaxError'
,
function
() {
169
GLib.test_expect_message(
'Gjs'
, GLib.LogLevelFlags.LEVEL_WARNING,
Callers
1
testExceptions.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected