File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/npm-packages/ruby-wasm-wasi/test Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- const fs = require ( "fs/promises" ) ;
2- const path = require ( "path" ) ;
3- const { WASI } = require ( "wasi" ) ;
4- const { RubyVM } = require ( "../dist/cjs/ index" ) ;
1+ import * as fs from "fs/promises" ;
2+ import * as path from "path" ;
3+ import { WASI } from "wasi" ;
4+ import { RubyVM } from "../src/ index" ;
55
66const rubyModule = ( async ( ) => {
77 let binaryPath ;
Original file line number Diff line number Diff line change 11import * as path from "path" ;
22import * as fs from "fs/promises" ;
33import { WASI } from "wasi" ;
4- import { RubyVM } from "../dist/esm /index" ;
5- import { DefaultRubyVM } from "../dist/esm /node" ;
4+ import { RubyVM } from "../src /index" ;
5+ import { DefaultRubyVM } from "../src /node" ;
66import { describe , test , expect } from "vitest"
77
88const initRubyVM = async ( rubyModule , args ) => {
You can’t perform that action at this time.
0 commit comments