Sign in
pigweed
/
third_party
/
github
/
bazel-contrib
/
rules_nodejs
/
b0fddaeedff9d53619367ecf0387085c2442a2d7
/
.
/
packages
/
jasmine
/
test
/
generated_require.spec.js
blob: 12804e1f5d19a47efc624658c8834a28585bbb85 [
file
]
describe
(
'output tree spec resolves'
,
()
=>
{
it
(
'should resolve runfiles relative'
,
()
=>
{
try
{
const
json
=
require
(
'./test.json'
);
expect
(
json
.
foo
).
toBe
(
'bar'
);
}
catch
(
_
)
{
fail
(`
'./test.json'
should be resolved
`);
}
});
});