Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Give details for CommonJS patterns #128

Open
wataruoguchi opened this issue May 25, 2020 · 0 comments
Open

Give details for CommonJS patterns #128

wataruoguchi opened this issue May 25, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request priority:low

Comments

@wataruoguchi
Copy link
Owner

Currently, it does not take any detailed information when importing.

For example,

function firstName() { return 'Wataru' };
          function lastName() { return 'Oguchi' };
          module.exports.default = { firstName, lastName }

The result is:

import test from "./test.ts";
          describe("test", function() {
            describe("test", function() {
              it("", function() {
                // TODO Write test for test
              });
            });
          });

I want something like:

import test from "./test.ts";
          describe("test.firstName", function() {
            describe("test.firstName", function() {
              it("", function() {
                // TODO Write test for test.firstName
              });
            });
          });
          describe("test.lastName", function() {
            describe("test.lastName", function() {
              it("", function() {
                // TODO Write test for test.lastName
              });
            });
          });
@wataruoguchi wataruoguchi added the enhancement New feature or request label May 25, 2020
@wataruoguchi wataruoguchi self-assigned this May 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request priority:low
Projects
None yet
Development

No branches or pull requests

1 participant