We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7fb8b1 commit c473758Copy full SHA for c473758
source/ports/node_port/test/index.js
@@ -97,9 +97,9 @@ describe('metacall', () => {
97
});
98
it('require (py module)', () => {
99
// This code loads directly a module without extension from Python
100
- const { loads } = require('json');
101
- assert.notStrictEqual(loads, undefined);
102
- assert.deepStrictEqual(loads('["foo", "bar"]'), ['foo', 'bar']);
+ const { escape } = require('html');
+ assert.notStrictEqual(escape, undefined);
+ assert.strictEqual(escape('<html></html>'), '<html></html>');
103
104
it('require (py submodule)', () => {
105
0 commit comments