We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc9aab commit f6b2be2Copy full SHA for f6b2be2
test/unit/constants.test.ts
@@ -36,13 +36,21 @@ describe("constants", () => {
36
})
37
38
describe("version", () => {
39
-
40
beforeAll(() => {
41
- // create tmpdir and add package.json
+ // TODO create tmpdir
+ })
42
+
43
+ beforeEach(() => {
44
+ // TODO copy package.json from root to tmpdir
45
46
47
+ afterEach(() => {
48
+ // TODO delete package.json in tmpdir
49
50
51
afterAll(() => {
52
// clean up
53
+ // TODO remove tmpdir
54
55
it("should return the package.json version", () => {
56
// Source: https://gist.github.com/jhorsman/62eeea161a13b80e39f5249281e17c39#gistcomment-2896416
0 commit comments