Skip to content

Commit

Permalink
Test name tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison committed Mar 29, 2021
1 parent b97c5df commit 6c94843
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/__tests__/navigationUtils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ afterEach(() => {
})

describe('isURLForDifferentApp', () => {
it('[absolute URL] is not a different app when the URL is absolute with the same domain and a "newtab" path', () => {
it('[absolute URL] is *not* a different app when the URL is absolute with the same domain and a "newtab" path', () => {
const { isURLForDifferentApp } = require('src/utils/navigationUtils')
setWindowLocation({
host: 'example.com',
Expand Down Expand Up @@ -57,7 +57,7 @@ describe('isURLForDifferentApp', () => {
)
})

it('[relative URL] is not a different app if the URL is exactly the same with a newtab subpath', () => {
it('[relative URL] is *not* a different app if the URL is exactly the same with a "newtab" subpath', () => {
const { isURLForDifferentApp } = require('src/utils/navigationUtils')
setWindowLocation({
host: 'example.com',
Expand All @@ -72,7 +72,7 @@ describe('isURLForDifferentApp', () => {
expect(isURLForDifferentApp('/newtab/path/')).toBe(false)
})

it('[relative URL] is not a differenta app if the URLs are both on the "newtab" subpath', () => {
it('[relative URL] is *not* a different app if the URL has a "newtab" subpath', () => {
const { isURLForDifferentApp } = require('src/utils/navigationUtils')
setWindowLocation({
host: 'example.com',
Expand Down

0 comments on commit 6c94843

Please sign in to comment.