Commit 5e04418f authored by Dimitrios Vergados's avatar Dimitrios Vergados
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
node_modules

README.md

0 → 100644
+2 −0
Original line number Diff line number Diff line
# jstests

package-lock.json

0 → 100644
+0 −0

File added.

Preview size limit exceeded, changes collapsed.

package.json

0 → 100644
+9 −0
Original line number Diff line number Diff line
{
  "devDependencies": {
    "mocha": "^9.1.1"
  },
  "scripts": {
    "test": "mocha"
  },
  "type": "module"
}

test/test_01.js

0 → 100644
+11 −0
Original line number Diff line number Diff line
import myEmailAddress from "../solution_01.js";
import assert from 'assert';


describe('\n\nSolution_01', function() {
  describe('#myEmailAddress()', function() {
    it("should return student's email address", function() {
      assert.equal(myEmailAddress(), process.env.GITLAB_USER_EMAIL);
    });
  });
});