Preview:
import { getDataFileIdSql, getDataFileNameSql } from "../../../../src/domain/datafile/DataFileSummaryInfoSql";

describe('DataFileSummaryInfoSql Tests', () => {
    test('getDataFileIdSql', () => {
      const actual = getDataFileIdSql(`"dfsi"`);
  
      expect(actual).toEqual(
        `SELECT df.id FROM DATA_FILE df WHERE df.SID = "dfsi".DATA_FILE_SID`
      );
    });

    test('getDataFileNameSql', () => {
        const actual = getDataFileNameSql(`"dfsi"`);
    
        expect(actual).toEqual(
          `SELECT df.file_name FROM DATA_FILE df WHERE df.SID = "dfsi".DATA_FILE_SID`
        );
      });
}
);
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter