Debian Codegraph @

js/src/jit-test/tests/modules/bug-1899344-1.js

raw
1 // |jit-test| module; --enable-import-attributes;
2
3 load(libdir + 'match.js');
4 const { Pattern } = Match;
5 const { OBJECT_WITH_EXACTLY } = Pattern;
6
7 import a from './bug-1899344.json' with { type: 'json' };
8
9 Pattern(OBJECT_WITH_EXACTLY({ 'hello': 'world' })).assert(a);