1
0
Fork 0

used utils.round where appropriate. Added tests for cutonfold, dimension and export-dxf

This commit is contained in:
Chris Barrett 2021-11-18 23:12:19 +01:00
parent 83c68f7dac
commit 20c2e43ee3
19 changed files with 88 additions and 59 deletions

View file

@ -30,7 +30,7 @@
"clean": "rimraf dist",
"build": "rollup -c",
"lernabuild": "rollup -c",
"test": "echo \"plugin-buttons: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"test": "BABEL_ENV=production ../../node_modules/.bin/mocha tests/*.test.js --require @babel/register",
"pubtest": "npm publish --registry http://localhost:6662",
"pubforce": "npm publish",
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",

View file

@ -1,4 +1,4 @@
import freesewing from "freesewing";
import freesewing from "@freesewing/core";
import { version } from "../package.json";
let chai = require("chai");
let expect = chai.expect;