mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-09-23 13:18:38 +00:00
Fix typo in test description; format test file
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
import {Dirent} from "fs";
|
import { Dirent } from "fs";
|
||||||
import {getReleaseFile} from '../src/io-utils'
|
import { getReleaseFile } from "../src/io-utils";
|
||||||
|
|
||||||
describe('getReleaseFile', () => {
|
describe("getReleaseFile", () => {
|
||||||
it('should return undefined when the given release files is an mepty array', () => expect(getReleaseFile([])).toEqual(undefined))
|
it("should return undefined when the given release files is an empty array", () =>
|
||||||
it('should return the first release file', () => {
|
expect(getReleaseFile([])).toEqual(undefined));
|
||||||
const file = {name: 'file'} as Dirent
|
|
||||||
expect(getReleaseFile([file])).toEqual(file)
|
it("should return the first release file", () => {
|
||||||
})
|
const file = { name: "file" } as Dirent;
|
||||||
})
|
expect(getReleaseFile([file])).toEqual(file);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user