mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Remove python, replace with ts
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
import bonob
|
||||
|
||||
7
tests/hello-world.test.ts
Normal file
7
tests/hello-world.test.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
|
||||
describe("something", function () {
|
||||
it("fails", function () {
|
||||
expect(true).equal(true);
|
||||
});
|
||||
});
|
||||
@@ -1,8 +0,0 @@
|
||||
from context import bonob
|
||||
|
||||
def f(x):
|
||||
return x + 1
|
||||
|
||||
def test_answer():
|
||||
assert f(4) == 5
|
||||
|
||||
21
tests/tsconfig.json
Normal file
21
tests/tsconfig.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"module": "commonjs",
|
||||
"experimentalDecorators": true,
|
||||
"strictPropertyInitialization": false,
|
||||
"isolatedModules": false,
|
||||
"strict": false,
|
||||
"noImplicitAny": false,
|
||||
"typeRoots" : [
|
||||
"../node_modules/@types"
|
||||
]
|
||||
},
|
||||
"exclude": [
|
||||
"../node_modules"
|
||||
],
|
||||
"include": [
|
||||
"./**/*.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user