parent
71f0e4034c
commit
7f6f3d3ef3
@ -1,6 +1,6 @@ |
|||||||
export { Compiler } from './compiler/compiler' |
export { Compiler } from './compiler/compiler' |
||||||
export { compile } from './compiler/compiler-helpers' |
export { compile } from './compiler/compiler-helpers' |
||||||
export { default as CompilerInput } from './compiler/compiler-input' |
export { default as CompilerInput, getValidLanguage } from './compiler/compiler-input' |
||||||
export { CompilerAbstract } from './compiler/compiler-abstract' |
export { CompilerAbstract } from './compiler/compiler-abstract' |
||||||
export * from './compiler/types' |
export * from './compiler/types' |
||||||
export { promisedMiniXhr, pathToURL, baseURLBin, baseURLWasm, canUseWorker, urlFromVersion } from './compiler/compiler-utils' |
export { promisedMiniXhr, pathToURL, baseURLBin, baseURLWasm, canUseWorker, urlFromVersion } from './compiler/compiler-utils' |
||||||
|
@ -1,10 +1,10 @@ |
|||||||
'use strict' |
'use strict' |
||||||
import tape from 'tape' |
import tape from 'tape' |
||||||
import { getValidLanguage } from "../src/helpers/compilerHelper"; |
import { getValidLanguage } from "../src/compiler/compiler-input"; |
||||||
import { Language } from "@remix-project/remix-solidity-ts"; |
import { Language } from "../src/compiler/types"; |
||||||
|
|
||||||
tape('compilerHelper', function (t) { |
tape('compiler-input', function (t) { |
||||||
t.test('lowerbound', function (st) { |
t.test('getValidLanguage', function (st) { |
||||||
st.plan(9) |
st.plan(9) |
||||||
|
|
||||||
const correctYul: Language = 'Yul'; |
const correctYul: Language = 'Yul'; |
@ -1,7 +1,8 @@ |
|||||||
{ |
{ |
||||||
"extends": "../../tsconfig.base.json", |
"extends": "../../tsconfig.base.json", |
||||||
"compilerOptions": { |
"compilerOptions": { |
||||||
"types": ["node"] |
"types": ["node"], |
||||||
|
"esModuleInterop": true |
||||||
}, |
}, |
||||||
"include": ["**/*.ts"] |
"include": ["**/*.ts"] |
||||||
} |
} |
Loading…
Reference in new issue