Compare commits
2 Commits
6d68ce034f
...
0eb39ff548
Author | SHA1 | Date | |
---|---|---|---|
0eb39ff548 | |||
1237376e19 |
1
dist/__tests__/index.d.ts
vendored
1
dist/__tests__/index.d.ts
vendored
@ -1 +0,0 @@
|
|||||||
declare function sumTest(): number;
|
|
7
dist/__tests__/index.js
vendored
7
dist/__tests__/index.js
vendored
@ -1,7 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
function sumTest() {
|
|
||||||
return 1 + 4;
|
|
||||||
}
|
|
||||||
test("test sum with 1 + 4 -> 5", function () {
|
|
||||||
expect(1 + 4).toBe(5);
|
|
||||||
});
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cubetiq/react-use-countdown",
|
"name": "@cubetiq/react-use-countdown",
|
||||||
"version": "1.0.6",
|
"version": "1.10.4",
|
||||||
"description": "Count down with trigger",
|
"description": "Count down with trigger",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
@ -23,7 +23,6 @@
|
|||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"build:test": "yarn test && yarn build",
|
"build:test": "yarn test && yarn build",
|
||||||
"publish": "yarn build:test && npm publish --registry https://registry.npmjs.com",
|
|
||||||
"run:example": "cd example && yarn start"
|
"run:example": "cd example && yarn start"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
function sumTest() {
|
|
||||||
return 1 + 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
test(`test sum with 1 + 4 -> 5`, () => {
|
test(`test sum with 1 + 4 -> 5`, () => {
|
||||||
expect(1 + 4).toBe(5);
|
expect(1 + 4).toBe(5);
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user