This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { rearrangeCalendarStringsForOutlook } from "../iCalendarUtils"; | |
describe("rearrangeCalendarStringsForOutlook()", () => { | |
test("should handle a single resort", () => { | |
const singleBefore = dedent` | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
PRODID:TiE23/ical | |
START:VEVENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This makes file names in the tabs a little bit easier to read, especially | |
// when you have TONS of identically prefixed and very long named files. | |
// It'll convert a row of tabs that looks like this (USELESS): | |
// [NewsFeedConfigurati…][NewsFeedConfigurati…][NewsFeedConfigurati…] | |
// And make it look a little more like this (BETTER): | |
// [NewsFee…ManagerSpec.js][NewsFee…eView.react.js][NewsFee…ainer.react.js] | |
// And optionally, if TRIM_EXTENSION is set to true, like this (BEST): |