fix(types): improve TypeScript strictness compatibility and modernize test exports
This commit is contained in:
@@ -20,4 +20,4 @@ tap.test('should test for a valid base64 token', async () => {
|
||||
expect(result).toBeTrue();
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -9,4 +9,4 @@ tap.test('expect create a Env Object', async () => {
|
||||
expect(envObject.DEFAULT_HOST).toEqual('some.domain.com');
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -34,4 +34,4 @@ tap.test('should parse complex domains', async () => {
|
||||
console.log(testDomain2);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -23,4 +23,4 @@ tap.test('expect return a .sshUrl', async () => {
|
||||
expect(testGit.sshUrl).toEqual('git@github.com:pushrocks/smartstring.git');
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -25,4 +25,4 @@ tap.test('expect indent', async () => {
|
||||
console.log(testString);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -17,4 +17,4 @@ tap.test('should normalize a string', async (toolsArg) => {
|
||||
);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
@@ -11,4 +11,4 @@ tap.test('should state wether base64 string is valid', async () => {
|
||||
expect(smartstring.type.isBase64('hi there')).toBeFalse();
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
|
||||
Reference in New Issue
Block a user