Skip to content

Commit 5e9b020

Browse files
committed
refactor(ES6): formatLocation.test.js
1 parent d9ac043 commit 5e9b020

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎test/formatLocation.test.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
var should = require("should");
2-
var formatLocation = require("../lib/formatLocation");
1+
"use strict";
2+
3+
const should = require("should");
4+
const formatLocation = require("../lib/formatLocation");
35

46
describe("formatLocation", () => {
5-
var testCases = [{
7+
const testCases = [{
68
name: "undefined",
79
loc: undefined,
810
result: ""

0 commit comments

Comments
 (0)