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" ;
5
5
6
6
const rubyModule = ( async ( ) => {
7
7
let binaryPath ;
Original file line number Diff line number Diff line change 1
1
import * as path from "path" ;
2
2
import * as fs from "fs/promises" ;
3
3
import { 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" ;
6
6
import { describe , test , expect } from "vitest"
7
7
8
8
const initRubyVM = async ( rubyModule , args ) => {
You can’t perform that action at this time.
0 commit comments