Skip to content
Open
Changes from 1 commit
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: 2 additions & 2 deletions src/engines/engine262.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ class Engine262Installer extends Installer {
}

async install() {
const bin = path.join(this.installPath, 'package', 'bin', 'engine262.js');
const bin = path.join(this.installPath, 'package', 'lib', 'engine262.js');
this.binPath = await this.registerBinarySymlink(bin, 'engine262');
}

async test() {
const program = 'print("42");';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these engines should have print in the cli, it's used in test262 and people expect to use it with esvu as well.

const program = 'console.log("42");';
const output = '42';

assert.strictEqual(
Expand Down
Loading