We present a novel moiré diagnostic that allows the time-averaged spatial coherence properties of soft-x-ray lasers to be measured. The technique is an extension of the theoretical work in a recent paper [J. Opt. Soc. Am. A 16, 323 (1999)] and is based on the concept of decompositions of the far-field divergence for partially coherent beams. An appealing feature of the approach is that the spatial coherence width at other planes can be evaluated from the measured one at a given plane on the assumption of shape-invariant beams.